[DEFERRED] Use Editor API for flow connection once upstream ships

Aperta
#14 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
jupyter-notebook, python
Ambito
tooling

Direzione di ricerca

Start with the construction cell containing the BREAD_FLOW string fragment and check whether the upstream Editor API now supports kind='flow' or an add_flow() helper. Once that API is available, migrate the fragment to the corresponding Editor API call and verify that the tutorial still constructs the flow connection.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Context

The opensysml v0.9.0 parser accepts this construct:

```sysml
package P {
private import ScalarValues::*;
action def BreadHandling {
action loader { out bread : ScalarValues::String; }
action ejector { in bread : ScalarValues::String; }
flow loader.bread to ejector.bread;
}
}
```

This proves the construct is defined in the SysML v2 specification. However, Editor.add_member(kind='flow', ...) raises IllegalMemberKindError.

Spec reference

SysML v2 Language Specification formal/2026-03-02, clause 7.20 (FlowConnectionUsage — ItemFlowEnd, FlowConnectionUsage, SuccessionFlowConnectionUsage)

Current workaround

Construction cell uses a SysML string fragment:

```python
BREAD_FLOW = " flow loader.bread to ejector.bread;"
print(BREAD_FLOW)
```

Upstream issue

Open-MBEE/OpenSysML#TBD (to be filed)

Resolution

When the upstream Editor API supports kind='flow' or an add_flow() helper, migrate
the construction cell to use the Editor API call. Each string fragment maps to one call.

Lingua principale
Jupyter Notebook
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Open-MBEE/toaster

Tutte le issue di Open-MBEE/toaster

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.