Cleanup of sequence diagram rendering code (still experimental)

Better handling of width. Instead uf using width 100% the width is set to the width of the graph. Should help issue #19.
This commit is contained in:
knsv
2014-12-05 10:19:07 +01:00
parent 8949166a17
commit 2b9e464798
7 changed files with 299 additions and 239 deletions

View File

@@ -62,10 +62,28 @@
John the Long-->Alice: Better then you!
</div>
<pre>
graph TD;
sq[Square shape]-->ci((Circle shape Начало));
</pre>
<div class="mermaid">
graph LR;
A[Start]-->B{a = '1,2'};
B-->|True|C[test = 1];
B-->|False|Z[Store];
C-->D{condition};
D-->|True|E[test = 2];
D-->|False|F[test = 3];
E-->G{condition2 = ''};
F-->G;
G-->|True|H[test = 4];
G-->|False|I[test = 5];
H-->J{condition3};
I-->J;
J-->|True|K[test = 6];
J-->|False|L;
K-->L[Print];
L-->M[Any Action];
M-->N[Any Other Action];
N-->Z;
</div>
<h1>Dot syntax (experimental)</h1>
<pre>
digraph