-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds and tests basic support for mermaid-mindmaps. Issues ====== - mermaid-mindmap is currently loaded from a CDN, which isn't good. This means that mindmaps won't work if there is no internet connection (or if the network blocks CDNs). - mermaid won't load mermaid-mindmap using mermaid.initThrowsErrors until PR mermaid-js/mermaid#3702 is merged and released
- Loading branch information
1 parent
fbd86cb
commit af6ded8
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
mindmap | ||
root | ||
child1((Circle)) | ||
grandchild 1 | ||
grandchild 2 | ||
child2(Round rectangle) | ||
grandchild 3 | ||
grandchild 4 | ||
child3[Square] | ||
grandchild 5 | ||
::icon(mdi mdi-fire) | ||
gc6((grand<br/>child 6)) | ||
::icon(mdi mdi-fire) | ||
gc7((grand<br/>grand<br/>child 8)) |