Calculation tree visualization labels parameters as attributes
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reading the Go code that handles the Jupyter kernel’s %viz command and renders calculation trees; the issue does not name specific files or tests. Reproduce the supplied A::add example and compare its rendered nodes with the described calculation notation. Done means x and y are identified as input parameters and the result is distinguished as the result parameter.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened, and what I expected instead
The Jupyter kernel's default tree visualization does not clearly render calculation parameters. For the calculation below, OpenSysML shows x and y as «attribute» nodes and renders the result as an unlabeled attribute node. The parameter direction and the result role are lost in the visualization.
This report concerns visualization only; it does not claim that parsing or calculation semantics are incorrect.
Reproduction
In a SysML Jupyter kernel, execute:
package A {
private import ScalarValues::*;
calc add {
in x : Integer;
in y : Integer;
return : Integer;
x + y
}
}
Then render the calculation with the OpenSysML visualization command (for example, %viz A::add).
OpenSysML's output represents x and y as «attribute» and the result as a generic attribute node.
Comparison with the OMG Pilot
Running the same model and %viz A::add in the OMG SysML v2 Pilot produces a calculation box labeled «calculation» add, with x and y shown as input ports and result shown as an output port. This makes the calculation's parameters and result explicit. The pilot output is comparative implementation evidence, not the authority for the standard.
SysML graphical-notation reference
Compared against SysML 2.0, release 2026-08:
- Section 7.19.2, Calculation Definitions and Usages (pp. 156–157) explains that directed usages declared in a calculation body are parameters and that a calculation has a result parameter.
- Section 8.2.3.19, Calculations Graphical Notation (pp. 269–271) describes a calculation usage node with parameter positions (
param-t*,param-l*,param-r*,param-b*), an action-flow view, and compartments including the result compartment.
These graphical-notation clauses are informative, so this is reported as a rendering discrepancy against the standard's described notation, not as a violation of a normative requirement. The rendered nodes should identify calculation inputs/results as parameters rather than generic attributes, and distinguish the result from other parameters.
This is a separate calculation-rendering case from #1532, which reports other tree visualization discrepancies.
- Lingua principale
- Go
- Stelle
- 47
- Fork
- 13
- Merge medio
- 15h 52m
- PR unite (30g)
- 906
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Open-MBEE/OpenSysML
-
Definition of requirementsApertaquestion
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Open-MBEE/OpenSysML#1359 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Open-MBEE/OpenSysML#1628 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 4/5 1-2 giorni Idoneità per principianti 48/100
Open-MBEE/OpenSysML#1575 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Review branding assetsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Open-MBEE/OpenSysML
Issue simili
-
Object Manager 1.13 resets a vCLU after sending a projectForse già presa @tciunelis l’ha presa oggi. Apertabug ready ticket
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Domktorymysli/vclu#152 ·
I maintainer di solito rispondono entro 1 giorno
-
bug converter
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
grafana/sigma-rule-deployment#435 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
🤖 verification skills: harden check.sh and verify.sh argument and file handling (#391 follow-ups)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
google/go-containerregistry#2491 ·
I maintainer di solito rispondono entro 1 giorno