Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can't find the right way to create horizontal edges between nodes.

I would like in one line nodes for example a, b, c. But each node have many other ways to other nodes and this nodes aren't in same height.

I generate graph with "rankdir=LR;"

Can you help me please?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

See "drawing with constrained ranks" in the user guide for "dot".

In graphs with time-lines, or in drawings that emphasize source and sink nodes, you may need to constrain rank assignments. The rank of a subgraph may be set to same, min, source, max or sink. A value same causes all the nodes in the subgraph to occur on the same rank.

example

{ rank = same; 1980; "build"; "emacs"; "vi"; }
{ rank = same; 1982; "RCS"; "<curses>"; "IMX"; "SYNED"; }
share|improve this answer
    
OK, thank you :). –  Pavla Apr 29 '12 at 19:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.