Sequence diagrams from operations and parts: call/return, async, self-calls, opt/alt/par/break fragments, timeouts
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- rust, yaml
- Ambito
- backend-api-design, data-visualization
Direzione di ricerca
Start by reading crates/syscribe-model/src/vis/derive/sequence.rs and the existing golden SVG/IR tests for derived sequence diagrams. Trace how ActionDef and UseCaseDef subjects map actions to messages and fragments, then compare that with the proposal for PartDef, operations, and the additional UML constructs. Done means the listed constructs have golden coverage, part subjects no longer produce W418, and existing diagrams remain byte-for-byte unchanged where no new construct is used.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of #363 (items 2 and 3). Builds on A for operation-based messages.
Current state
crates/syscribe-model/src/vis/derive/sequence.rs: subject is an ActionDef/Action or a UseCaseDef/UseCase with actors:. One Message per SendAction/AcceptAction, one alt fragment per IfAction, one loop per LoopAction. The module states its scope: "no return, create or destroy messages". A PartDef/Part as subject is W418 and the diagram is empty.
Proposal
- Subjects. A
PartDef/Partsubject derives a sequence from the actions itperforms:(and from the operations it provides, once A lands), instead ofW418. - Messages. Call versus return (a sync operation draws a call and a dashed return carrying the return value and declared errors), async (open arrowhead), self-calls, create and destroy where a model field declares them, and message labels
op(arg: T): Rfrom the operation signature. - Fragments.
opt(anifwithoutelse),altwith a visibleelsedivider per branch,par(fromFork/Join),break, andloopwith its guard. Nesting as today. - Timeouts. A timeout on a call or
accept(after:) drawn as a timing constraint on the message or as a labelledaltbranch. - Keep determinism and fixed layout: lifelines at fixed pitch, messages by row, as today.
Acceptance (tests first)
- Golden SVG/IR tests for each construct: call and return, async, self-call,
opt,alt/else,par,break, nested fragments. - A
PartDefsubject withperforms:no longer raisesW418and shows its messages. - Existing derived sequence diagrams are unchanged byte for byte unless they use a new construct.
Part of #272 (executable MBSE / software design).
Generated by Claude Code
- Lingua principale
- Rust
- Stelle
- 8
- Fork
- 1
- Merge medio
- 3h 35m
- PR unite (30g)
- 69
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 sjames/syscribe
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
sjames/syscribe#411 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Format-preserving writes for structural frontmatter (features, connections, layout, shapes, edges)Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
sjames/syscribe#405 · 1 commento ·
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 sjames/syscribe
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
quarto-dev/q2#1155 ·
I maintainer di solito rispondono entro 1 giorno
-
backlog priority: low ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
storytold/vectorcraft#6445 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: cli kind:docs priority: P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
tursodatabase/libsql#2312 ·
I maintainer di solito rispondono entro 11 giorni
-
`NodeOwned::size_in_bytes` does not count the `ChildrenNodesOwned` heap allocation (since #216)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
paritytech/trie#251 ·
I maintainer di solito rispondono entro 1 giorno