Attribute "dir"

Used by:edge
Description:Sets the edge type for drawing arrowheads (not for ranking purposes).
Values:"forward", "back", "both", "none"
Default Value:forward
Sponsored links:

Example 1/1:
Source code:
<graph file-name="graphs/dir" ranksep="0.5">
<node id="t1" label="tail"/>
<node id="t2" label="tail"/>
<node id="t3" label="tail"/>
<node id="t4" label="tail"/>
<node id="h1" label="head"/>
<node id="h2" label="head"/>
<node id="h3" label="head"/>
<node id="h4" label="head"/>
<edge from="t1" to="h1" label="forward" dir="forward"/>
<edge from="t2" to="h2" label="back" dir="back"/>
<edge from="t3" to="h3" label="both" dir="both"/>
<edge from="t4" to="h4" label="none" dir="none"/>
Sponsored links

 Copyright 2002-2010 by Martin Loetzsch (, all rights reserved. See the DotML licence for details.