Différences entre les versions de « Mermaid - graph »
De Semantic MediaWiki - Sandbox
m (→"Wide" top-down graph example : remove double quotes from section title) |
(→Wide top-down graph example : update with actual SemanticMediaWiki/Mermaid GitHub issue) |
||
Ligne 22 : | Ligne 22 : | ||
References: | References: | ||
+ | * https://github.com/SemanticMediaWiki/Mermaid/issues/73 | ||
* [https://github.com/mermaid-js/mermaid/issues/1288 this mermaid.js issue] and [https://github.com/mermaid-js/mermaid/pull/1333 the assocated PR] on GitHub | * [https://github.com/mermaid-js/mermaid/issues/1288 this mermaid.js issue] and [https://github.com/mermaid-js/mermaid/pull/1333 the assocated PR] on GitHub | ||
− | |||
{| class="wikitable" width=100% | {| class="wikitable" width=100% |
Version du 15 septembre 2021 à 14:52
→ Back to Mermaid overview
Syntax
{{#mermaid:graph TD; A-->B; A-->C; B-->D; C-->D; }}
Result
Wide top-down graph example
References:
- https://github.com/SemanticMediaWiki/Mermaid/issues/73
- this mermaid.js issue and the assocated PR on GitHub
What you type | What you get |
---|---|
{{#mermaid:graph TD A[input files] --> B[pipeline] B --> C[output 1] B --> D[output 2] C --> E[post-process 1] C --> F[post-process 2] C --> G[post-process 2] D --> G[post-process 2] C --> H[display] D --> H[dipslay] B --> I[summary] E --> I[summary] F --> I[summary] G --> I[summary] H --> I[summary] }} |