5 Graph Description Language (GDL) - Absint
5 Graph Description Language (GDL) - Absint
5 Graph Description Language (GDL) - Absint
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.9 Edge Attributes<br />
This section describes the whole list of edge attributes. Each attribute is listed together with its<br />
type and default value.<br />
• anchor<br />
Type: integer<br />
Default value: no default value<br />
Attribute of: edge<br />
<strong>Description</strong>:<br />
An anchor point describes the vertical position in a node where an edge starts. This is<br />
useful if node labels are several lines long and outgoing edges are related to label lines. (For<br />
instance, this allows a nice visualization of structs containing pointers as fields). A node<br />
with anchored edges can only have one near edge at maximum. Further, if anchored edges<br />
occur, the graph orientation is always top_to_bottom.<br />
• arrowcolor, backarrowcolor<br />
Type: black, blue, red, ...<br />
Default value: value of the color attribute for both<br />
Attribute of: edge<br />
<strong>Description</strong>:<br />
Respectively the color of the arrow head or backarrow head. For details on colors, see p.<br />
105. See also edge attributes textcolor (p. 103) and color (p. 101).<br />
• arrowsize, backarrowsize<br />
Type: integer<br />
Default value:<br />
10 pixels for the arrowsize and<br />
0 pixels for the backarrowsize<br />
Attribute of: edge<br />
<strong>Description</strong>:<br />
The arrow head is a right-angled, isosceles triangle. These two attributes respectively specify<br />
the length of the cathetuses of the arrow head and back arrow head.<br />
• arrowstyle, backarrowstyle<br />
Type: ”none”, ”solid”, ”line”, ”circle”, ...<br />
Default value:<br />
”solid” for the arrowstyle and<br />
”none” for the backarrowstyle<br />
Attribute of: edge<br />
<strong>Description</strong>:<br />
Each edge has two arrow heads, one arrow head pointing to the target node, called normal<br />
arrow head, and the other one “pointing” to the source node, called back arrow head. arrowstyle<br />
is the style of the normal arrow head and backarrowstyle the style of the back arrow<br />
head. The styles are:<br />
– ”none”<br />
No arrow head is drawn.<br />
100