dc.graph.js
dc.graph.js copied to clipboard
Rendering of nested subgraphs fails.
Example graph:
digraph D {
subgraph cluster_p {
label = "Parent";
subgraph cluster_c1 {
label = "Child one";
a;
subgraph cluster_gc_1 {
label = "Grand-Child one";
b;
}
subgraph cluster_gc_2 {
label = "Grand-Child two";
c;
d;
c->d;
}
}
subgraph cluster_c2 {
label = "Child two";
e;
}
}
}
Application example: Simple graph viewer sample
How it renders in Viz.JS :

Errors we get in Simple graph viewer sample (and it does not render data correctly):

Hi @OlegJakushkin, thanks for the report and the example input!
I can reproduce this. It looks like it should be supported, but clearly something is going wrong.
I'll try to take a look sometime in the next week.
