mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 16:29:40 +02:00
Adding text wrap and logic for placing nodes in the svg
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user