views:

610

answers:

1

I am building a dot file to represent computer hardware and the physical connections to a network switch and displays. I have it looking ok when processed by the dot program but I think I really want it processed by neato to create a more "free form" picture as it starts to grom. Right now when I run my large file with neato, everything is overlaping.

I am trying to figure out the syntax on where to define the overlap attribute. Below is a subset of my dot file.

Any help would be great! Thanks Chris

graph g {
node [shape=record,height=.1];
PC8[label="{{GigE1|GigE2}|{PC8}|{dvi1|dvi2|dvi3|dvi4}}"];
PC9[label="{{GigE1|GigE2}|{PC9}|{dvi1|dvi2|dvi3|dvi4}}"]; C1[label = "{{dvi1}|{C1}}"];
C2[label = "{{dvi1}|{C2}}"];
C3[label = "{{dvi1}|{C3}}"];
C4[label = "{{dvi1}|{C4}}"];
D1[label = "{{dvi1}|{D1}}"];
D2[label = "{{dvi1}|{D2}}"];
"PC8":dvi1 -- "C1":dvi1;
"PC8":dvi2 -- "C2":dvi1;
"PC8":dvi3 -- "C3":dvi1;
"PC8":dvi4 -- "C4":dvi1;
"PC9":dvi1 -- "D1":dvi1;
"PC9":dvi2 -- "D2":dvi1;
}

+1  A: 

"Well, as with most questions...soon after I posted the I figured out the answer. I needed to add graph [overlap=false]; at the top of the file."

You want to add graph [overlap=false]; at the top of the file. That should do it.

Phil H