You make notes ( pMermaid ) and links. if you want to make a subgraph, make a adorment ( pMermaidAdorments )
You choose a direction for drawing like TD or LR.($M_Direction)
run stamp ( make Mermaid ).
pMermaidContainer has the code for mermaid flowchart.
Subgraph support (by Adornments)
This is controled by $OnAdd and $OnRemove of Adornments.
if you delete or move adornment without runnning $OnRemove for all notes, you need to fix a value of $M_Subgraph and $M_adornments.
Supported shapes
* rectangle (<- normal and other shapes)
* rounded
* oval
* ozenge
* diamond
* hex
Stamp automatically names nodes and subgraphs with the alphabet or their abbreviations.
Theme ( default, neutral, dark, forest ) is supported.
Custom Theme is supported.
It is set with the container note’s attributes.
Custom Node’s Style ( with the note’s attributes )
Web Link ( Node only)
Links from Subgraph ( with a normal arrow only )
Subgraphs has their direction.
If any of a subgraph’s nodes are linked to the outside, subgraph direction will be ignored. Instead the subgraph will inherit the direction of the parent graph:
Export Quarto chank header ( Optional )
Copy the generated code to the clipboard.
Limitation
Subgraph nesting is not supported.
You can’t preview a flowchart with a theme. => try Mermaid Live Editor