mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-15 20:20:10 +02:00
#1143 Adding support in grammar for multiple nodes in dependency declarations
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<style>
|
||||
body {background: white}
|
||||
body {background: black}
|
||||
h1 { color: white;}
|
||||
.arrowheadPath {fill: red;}
|
||||
|
||||
@@ -17,17 +17,12 @@
|
||||
<body>
|
||||
<h1>info below</h1>
|
||||
<div style="display: flex;width: 100%; height: 100%">
|
||||
<div class="mermaid" style="width: 100%; height: 100%">gantt
|
||||
dateFormat YYYY-MM-DD
|
||||
axisFormat %d/%m
|
||||
title Adding GANTT diagram to mermaid
|
||||
excludes weekdays 2014-01-10
|
||||
|
||||
apple :a, 2017-07-20, 1w
|
||||
banana :crit, b, 2017-07-23, 1d
|
||||
cherry :active, c, after b a, 1d
|
||||
|
||||
|
||||
<div class="mermaid" style="width: 100%; height: 100%">
|
||||
graph LR
|
||||
a[gorillan vaggar]|b[apan hoppar]--> c --> d
|
||||
subgraph "One Two"
|
||||
a1-->a2-->a3
|
||||
end
|
||||
</div>
|
||||
</div>
|
||||
<script src="./mermaid.js"></script>
|
||||
|
Reference in New Issue
Block a user