#5237 Bugfix for fork/join

This commit is contained in:
Knut Sveidqvist 2024-05-07 15:47:39 +02:00
parent d497a5c4ac
commit b9a73c88b5
2 changed files with 20 additions and 13 deletions

View File

@ -73,15 +73,20 @@
</head> </head>
<body> <body>
<pre id="diagram" class="mermaid"> <pre id="diagram" class="mermaid">
stateDiagram-v2 stateDiagram
state ProActive { state fork_state <<fork>>
state Active { [*] --> fork_state
APA fork_state --> State2
} fork_state --> State3
}
state join_state <<join>>
State2 --> join_state
State3 --> join_state
join_state --> State4
State4 --> [*]
</pre </pre
> >
<pre id="diagram" class="mermaid"> <pre id="diagram" class="mermaid2">
stateDiagram-v2 stateDiagram-v2
[*] --> Active [*] --> Active
@ -100,13 +105,13 @@ stateDiagram-v2
} }
</pre </pre
> >
<pre id="diagram" class="mermaid"> <pre id="diagram" class="mermaid2">
stateDiagram-v2 stateDiagram-v2
state ProActive { state ProActive {
state Active { state Active {
Chimp --> A Chimp --> A
Chimp --> B Chimp --> B
Chimp --> C Chimp --> C
} }
} }
</pre </pre
@ -520,7 +525,8 @@ mindmap
handdrawn: true, handdrawn: true,
layout: 'elk', layout: 'elk',
flowchart: { titleTopMargin: 10 }, flowchart: { titleTopMargin: 10 },
fontFamily: 'Caveat', // fontFamily: 'Caveat',
fontFamily: 'Kalam',
sequence: { sequence: {
actorFontFamily: 'courier', actorFontFamily: 'courier',
noteFontFamily: 'courier', noteFontFamily: 'courier',

View File

@ -17,7 +17,8 @@ const shapes = {
rect, rect,
stateStart, stateStart,
stateEnd, stateEnd,
forkJoin, fork: forkJoin,
join: forkJoin,
choice, choice,
}; };