Layout algorithm in place

This commit is contained in:
Knut Sveidqvist
2022-07-24 11:05:54 +02:00
parent 7de68f0bf2
commit 8e5e212c49
8 changed files with 271 additions and 32 deletions

View File

@@ -22,6 +22,7 @@
}
.mermaid svg {
/* font-size: 18px !important; */
border: 1px solid red;
}
</style>
</head>
@@ -41,7 +42,7 @@ journey
Go downstairs: 5: Me
Sit down: 5: Mee
</div>
<div class="mermaid" style="width: 50%;">
<div class="mermaid2" style="width: 50%;">
mindmap
root[
The root where the things
@@ -50,6 +51,52 @@ mindmap
pen!
]
Child1
child2[
Child2<br/>
The second<br/>
The second<br/>
The second<br/>
The second<br/>
The second<br/>
The second<br/>
The second<br/>
]
Other
Child3
GrandChild1
sc1
sc2
sc3
GrandChild2
</div>
<div class="mermaid" style="width: 50%;">
mindmap
root[
The root where the things
happen!
]
Child2
GrandChild1
GrandChild2
Child3
GrandChild3
GrandChild4
Child4
GrandChild5
GrandChild6
Child1
GrandChild1
sc1
sc2
sc3
GrandChild2
Child5
GrandChild7
sc1
sc2
sc3
GrandChild7
</div>
<div class="mermaid2" style="width: 50%;">
pie
@@ -62,7 +109,7 @@ mindmap
"Magnesium" : 10.01
"Iron" : 5
</div>
<div class="mermaid" style="width: 50%;">
<div class="mermaid2" style="width: 50%;">
gitGraph TB
commit
commit