Re: [graphviz-interest] flowchart with swimlanes
vshih <[email protected]> Sat, 1 Apr 2017 02:44:19 -0700 (MST)
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
I had good luck by making each cluster consist of a single chain of visible
and invisible nodes, all the same length, effectively creating a grid:
digraph g {
a1 -> b2 -> c3 -> a4;
node [style=invis];
edge [style=invis];
subgraph cluster_a {
a1 a4;
a1 -> a2 -> a3 -> a4;
}
subgraph cluster_b {
b2;
b1 -> b2 -> b3 -> b4;
}
subgraph cluster_c {
c3;
c1 -> c2 -> c3 -> c4;
}
}
https://stamm-wilbrandt.de/GraphvizFiddle/?1491039553273#digraph%20g%20%7B%0A%20%20a1%20-%3E%20b2%20-%3E%20c3%20-%3E%20a4%3B%0A%0A%20%20node%20%5Bstyle%3Dinvis%5D%3B%0A%20%20edge%20%5Bstyle%3Dinvis%5D%3B%0A%0A%20%20subgraph%20cluster_a%20%7B%0A%20%20%20%20a1%20a4%3B%0A%0A%20%20%20%20a1%20-%3E%20a2%20-%3E%20a3%20-%3E%20a4%3B%0A%20%20%7D%0A%0A%20%20subgraph%20cluster_b%20%7B%0A%20%20%20%20b2%3B%0A%0A%20%20%20%20b1%20-%3E%20b2%20-%3E%20b3%20-%3E%20b4%3B%0A%20%20%7D%0A%0A%20%20subgraph%20cluster_c%20%7B%0A%20%20%20%20c3%3B%0A%0A%20%20%20%20c1%20-%3E%20c2%20-%3E%20c3%20-%3E%20c4%3B%0A%20%20%7D%0A%7D%0A
--
View this message in context: https://urldefense.proofpoint.com/v2/url?u=http-3A__graphviz.996277.n3.nabble.com_flowchart-2Dwith-2Dswimlanes-2Dtp3847p4309.html&d=DwICAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=xTP9WvTdKb0ExEpJt26Gk78mnvO7k30KWj9PaePy7aZwx4MmNzMLhJV4yUhpeMDg&m=Np8JwoO0u8WYhZfwgCjcytqigok2h6HruXspK2pgEb4&s=2ovRQdZAiwIh2KT0uoWy6ydJyU65MhZanFxdd8X0Sxk&e=
Sent from the Graphviz - Interest mailing list archive at Nabble.com.
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest