#1143 Adding support in grammar for multiple nodes in dependency declarations

This commit is contained in:
Knut Sveidqvist
2019-12-15 18:10:52 +01:00
parent 26fac9507e
commit 6598b1b10d
4 changed files with 29 additions and 18 deletions

View File

@@ -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>