Subject: | Label is not shown for cluster in case if it's splitted |
Date: | Tue, 30 Jun 2015 12:44:55 +1200 |
To: | bug-Graph-Easy [...] rt.cpan.org |
From: | Ivan Kurnosov <zerkms [...] zerkms.ru> |
For the given Dot-script:
digraph G {
subgraph cluster_0 {
node_0_0 [label="a0"];
label = "a";
}
subgraph cluster_1 {
node_1_0 [label="b0"];
label = "b";
}
subgraph cluster_2 {
node_2_0 [label="c0"];
node_2_1 [label="c1"];
label = "c";
}
node_0_0 -> node_1_0;
node_1_0 -> node_2_0;
node_1_0 -> node_2_1;
}
graph-easy produces the following output:
$ cat bug.dot | graph-easy
+- - - - +
' a '
' '
' +----+ '
' | a0 | '
' +----+ '
' '
+- - - - +
|
|
v
+ - - - -+ +- - - - +
' c ' ' b '
' ' ' '
' +----+ ' ' +----+ '
' | c1 | ' <-- ' | b0 | '
' +----+ ' ' +----+ '
' ' ' '
+ - - - -+ +- - - - +
|
|
v
+- - - - +
' '
' +----+ '
' | c0 | '
' +----+ '
' '
+- - - - +
As you may see the bottom block (the one with `c0`) has missing the `c`
label.
libgraph-easy-perl, v0.73-1
ubuntu trusty v14.04
perl v5.18
--
With best regards, Ivan Kurnosov