Adding text wrap and logic for placing nodes in the svg

This commit is contained in:
Knut Sveidqvist
2022-07-23 10:16:54 +02:00
parent 6029c5371e
commit 7de68f0bf2
14 changed files with 564 additions and 46 deletions

View File

@@ -41,6 +41,16 @@ journey
Go downstairs: 5: Me
Sit down: 5: Mee
</div>
<div class="mermaid" style="width: 50%;">
mindmap
root[
The root where the things
hap<br/>
hap<br/>
pen!
]
Child1
</div>
<div class="mermaid2" style="width: 50%;">
pie
accTitle: My Pie Chart Accessibility Title
@@ -52,8 +62,8 @@ journey
"Magnesium" : 10.01
"Iron" : 5
</div>
<div class="mermaid2" style="width: 50%;">
gitGraph
<div class="mermaid" style="width: 50%;">
gitGraph TB
commit
commit
branch develop
@@ -217,7 +227,7 @@ class Class10 {
size()
}
</div>
<div class="mermaid" style="width: 100%;">
<div class="mermaid2" style="width: 100%;">
%%{init: {'config': {'wrap': true }}}%%
sequenceDiagram
participant A as Extremely utterly long line of longness which had previously overflown the actor box as it is much longer than what it should be
@@ -332,7 +342,7 @@ flowchart TD
rankSpacing: 50,
defaultRenderer: 'dagre-d3',
},
logLevel: 0,
logLevel: 1,
fontSize: 18,
curve: 'cardinal',
// securityLevel: 'sandbox',