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):

Code context

Example graph:
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):

Code context
