aiSee User Manual: GDL Edge Attributes

This section describes the whole list of edge attributes. Each attribute is listed together with its type and default value.

anchor: Int, no default value
An anchor point describes the vertical position in a node where an edge starts. This is useful if node labels are several lines long and outgoing edges are related to label lines. (For instance, this allows a nice visualization of structs containing pointers as fields). A node with anchored edges can only have one near edge at maximum. Further, if anchored edges occur, the graph orientation is always top_to_bottom.

Top

arrowcolor: Color Entry, default is the value of color
backarrowcolor: Color Entry, default is the value of color
Specify the color of the arrow head or back arrow head respectively. For the avilable Color Entries, see section Colors.

Top

arrowsize: Int, default is 10
backarrowsize: Int, default is 0
Specify the length of the cathetuses of the arrow head or back arrow head respectively, the arrow head being a right-angled, isosceles triangle.

Top

arrowstyle: Old Style, default is solid
backarrowstyle: Old Style, default is none
As of aiSee 2.2.00:
arrowstyle: "New Style", default is "solid"
backarrowstyle: "New Style", default is "none"
Specify the style of the arrow head or back arrow head respectively.

The following Old Styles are available:

The following New Styles are available:

"circle" circle
"half circle" half circle
"filled circle" filled circle
"filled half circle" filled half circle
"box" box
"half box" half box
"filled box" filled box
"filled half box" filled half box
"rhomb" rhomb
"half rhomb" half rhomb
"filled rhomb" filled rhomb
"filled half rhomb" filled half rhomb
"diamond" diamond
"half diamond" half diamond
"slash" slash
"dslash" dslash
"solid" solid
"line" line
"none" none

As of aiSee 2.2.01, all styles except "solid" and "line" can be concatenated to create custom composite edge arrows. Examples:

"half rhomb + circle" half rhomb + circle
"half diamond + filled circle" half diamond + filled circle
"none + rhomb" none + rhomb
"filled rhomb + dslash" filled rhomb + dslash
"diamond + slash" diamond + slash
"box + circle + box + box" box + circle + box + box

etc.

Top

class: Int, default is 1
Specifies the edge class to which an edge belongs. For details, see Expose/hide edges. See also graph attribute classname.

Top

color: Color Entry, default is black
Specifies the color of an edge. For the available Color Entries, see section Colors. See also edge attributes textcolor and arrowcolor.

Top

fontname: "Font File", as of aiSee 2.1.88,
default is the default vector font drawn by turtle graphics routines
Specifies a pixel font to be used for drawing the edge labels. This font is given by the name of the aiSee Font File containing the font description, e.g. a 12-point Helvetica Bold font can be specified via fontname: "helvB12". Note: If the font file is not in the current directory the environment variable AISEEFONTS has to be set to the directory containing the font description files. For the available Font Files, see additional fonts.

Top

horizontal_order: Int, default is -1 (i.e. no default)
In a hierarchical layout, this attribute specifies the horizontal position of long edges. This is only of interest if an edge crosses several levels (see node attribute horizontal_order). This attribute specifies the point where the edge crosses the level.

The nodes specified by horizontal positions are ordered according to these positions within a level. The horizontal position of a long edge crossing a level specifies the two nodes of the level between which the edge has to be drawn. Other edges not possessing this attribute are inserted in this ordering by the crossing reduction mechanism (see crossing reduction).

Top

label: "String", default is "" (empty string)
Specifies the text label of an edge. It is drawn if the graph attribute display_edge_labels is set to yes. The label string may contain control characters, e.g. \n (newline character), that influence the size of the label, font color or style. See character set for more details.

Top

linestyle: Style, default is solid
Specifies the style in which an edge is drawn. The following Styles are available:

Top

priority: Int, default is 1
Depending on the layout algorithm selected, the positions of the nodes may be mainly determined by the incoming and outgoing edges. In such case, the edges can be imagined as rubberbands pulling a node to its position. The priority of an edge corresponds to the strength of the imaginary rubberband.

Top

source: "String", no default value
Specifies the title of the source (node or subgraph) of an edge. This attribute is mandatory for the edge specification.

Top

target: "String", no default value
Specifies the title of the target (node or subgraph) of an edge. This attribute is mandatory for the edge specification.

Top

textcolor: Color Entry, default is black
Specifies the color of the text labels of an edge. For the available Color Entries, see section Colors. See also color and arrowcolor.

Top

thickness: Int, default is 2
Specifies the thickness of an edge.