cluster

Cluster attribute 'id' in dot?

I'm playing around with a compiled javascript version of Graphviz (viz.js).

The dot language looked more web2.0 as I thought it would.
But, I was wondering why there is chosen for clusters not being able to set an 'id'?

The svg 'id' attribute is ideal for usage as a reference back to its original (non-graphvizualized (<-this should be a word :)) object.

cluster problem with manual positions

Hello Everybody!

I'm writing my thesis and just found graphviz a few days ago, so consider me an absolute beginner. I was able to create almost everything needed, but I do have a problem with this, not getting the cluster:

graph G {
node[shape = circle , height =.6, fixedsize= true];
i[pos="0,0"];
j[pos="80,0"];
x1[pos="160,0"];
xm[pos="290,0"];
ii[pos="370,0",label=i];
jj[pos="450,0",label=j];
subgraph cluster_0 {
x1--xm[style=dotted];
}
i--j[dir=forward];
j --x1[dir=forward];
xm--ii[dir=forward];
ii--jj[dir=forward];
}

Recent comments

Syndicate content