Re: [graphviz-interest] forcing distinct/more ranks?
"Emden R. Gansner" <[email protected]>
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
On 2/8/13 7:26 AM, paul womack wrote:
> Question - how can I force it (or persuade it...)
> to put nodes on separate ranks, even if it doesn't need to?
One way to do simple adjustments is to use the minlen attribute. If node
A is 1950 and node B is 1958,
you can use A->B [minlen=8].
A more global approach is to actually use a timeline, which you can
always make small and invisible.
Then use rank=same for all nodes that should be at the same year. Take a
look at the sample graph
graphs/directed/shells.gv for a template.
Emden
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest