mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 14:29:48 +02:00
Updated conf handling
Added initialize function Moved genric configuration as clonseCssStyles till conf root Added parse funtion to the mermaidAPI api
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/mermaid.forest.css"/>
|
||||
|
||||
<script src="../node_modules/d3/d3.js"></script>
|
||||
<script src="../dist/mermaid.slim.js"></script>
|
||||
<scrpt src="../node_modules/d3/d3.js"></scrpt>
|
||||
<script src="../dist/mermaid.js"></script>
|
||||
<scrpt src="../dist/mermaid.full.js"></scrpt>
|
||||
<style type="text/css">
|
||||
html {
|
||||
@@ -72,6 +72,17 @@ html {
|
||||
end
|
||||
end
|
||||
</div>
|
||||
<div class="mermaid">graph TB
|
||||
c1-->a2
|
||||
subgraph one
|
||||
a1-->a2
|
||||
end
|
||||
subgraph two
|
||||
b1-->b2
|
||||
end
|
||||
subgraph three
|
||||
c1-->c2
|
||||
end</div>
|
||||
<div class="mermaid">
|
||||
graph TB
|
||||
subgraph A
|
||||
|
Reference in New Issue
Block a user