pos

Pinning nodes with sfdp

Is there a way to pin nodes with sfdp?

I can get it to work with neato by specifying pos=(x,y) and pin=true for my node but when I do the same with sfdp the pinned location is just ignored.

Thanks!

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];
}

"dot" with fixed node locations

Hi, I'm trying to use dot as the backend for an interactive dependency graph editor.
I'd like to allow the user to move nodes around manually, and then update the edges nicely. My thought was to let dot do 'initial' and 'automated' layouts, and have neato do 'pretty' edge routing when the user moves things around manually in the process of connecting them up (if you're putting 100 nodes in order, it's real disconcerting of everything moves around every time you add an edge).

Recent comments

Syndicate content