This section describes the entire list of node attributes.
Each attribute is listed together with its type and default value.
-
bordercolor
Type: black, blue, red, ...
Default value:
Same as the value of the textcolor attribute
for nodes
Attribute of: node
Description:
Specifies the color for node borders.
For details on colors, see
section Colors.
See also node attributes
color and
textcolor.
-
borderstyle
Type:
continuous,
dashed, dotted, double,
invisible, solid,
triple
Default value:
continuous
Attribute of: subgraphs
Description:
This attribute specifies the line style used for drawing the borders
of a node. See also edge attribute
linestyle.
-
borderwidth
Type: integer
Default value: 2 pixels
Attribute of: node
Description:
This attribute specifies the width of the border of a node
in pixels.
-
color
Type: black, blue, red, ...
Default value:
white or transparent
Attribute of: node
Description:
Here the color attribute specifies the background color
of a node.
For details on colors, see
section Colors.
See also node attributes
textcolor and
bordercolor.
-
focus
Type: no type
Default value: no value
Attribute of: node
Description:
This attribute sets the focus for the node for which it is specified.
After startup this node is centered in the graph window.
Note: the focus can also be specified for summary nodes (see
graph attribute
focus).
It goes without saying that the focus attribute should appear only once
in a graph specification.
-
fontname
Type: string
Default value:
default font is drawn by turtle
graphics routines
Attribute of: node
Description:
This attribute specifies a pixel font different from the default font and used for drawing the text labels of summary nodes.
The font is given by the name of the aiSee font file containing
the font description, for example a 12-point Times Roman font
can be specified via fontname: "timR12.vcf".
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 details on fonts, see
additional fonts.
-
height
Type: integer
Default value: (node label height) pixels
Attribute of: node
Description:
This attribute specifies the height of a node including the border.
See also node attribute
width.
-
horizontal_order
Type: integer
Default value: none (corresponds to -1)
Attribute of: node
Description:
In a hierarchical layout, this attribute specifies the horizontal
position of a node within a level (see node attribute
vertical_order).
Nodes specified by horizontal positions are ordered
according to these positions within levels. Nodes without this
attribute are inserted in this ordering by the crossing reduction
mechanism (see crossing reduction).
Note: Connected components are handled separately during crossing reduction,
thus it is not possible to intermix nodes of different connected components
in one ordering sequence. For example, one connected component consists
of nodes A, B, C and another one of nodes D and E, which are all positioned
at the same level. Then, for instance, it is not possible to specify
the following horizontal order at level 0: A, D, C, E.
Note further: If the algorithm for downward laid-out trees is used,
the specified horizontal order is only retained within nodes
that are children of the same node, i.e. in case of downward laid-out trees
it is not possible to specify a horizontal order for the entire level.
-
iconfile
Type: string
Default value: no default value
Attribute of: node
Description:
This attribute specifies the bitmap file (format: raw PBM, PPM) to be
displayed in the node.
Note: If the bitmap file to be displayed is not in the current directory the
environment variable AISEEICONS can be set to the directory
containing the bitmap file.
For details on pictures in nodes, see
icons.
-
importance
Type: integer
Default value:
0 (which means infinity)
Attribute of: node
Description:
This is the central attribute when it comes to filtering in
fish-eye views as it enables the importance of a node to be specified via an integer.
Low integers signify less important nodes which are filtered out
first by a filtering fish-eye view. High integer numbers signify nodes that are important, their being rarely filtered out.
A value of 0 represents an infinite importance, the result being that these nodes are never filtered out. This attribute also exists for summary nodes
of folded subgraphs, see
importance.
-
info1, info2, info3
Type: string
Default value: empty string for all three
Attribute of: node
Description:
These attributes enable three additional text fields to be specified
for a node.
The same set of attributes exists for summary nodes (see node attribute
info1).
These additional information fields can be selected interactively
from the submenu of the
Information menu.
-
label
Type: string
Default value: empty string
Attribute of: node
Description:
This string is displayed inside a node.
If no label is specified the value of the node attribute
title is used.
Note: This string may contain control characters, e.g. ``\n
''
(newline character), that influence the size of the node.
See
Character Set for more details.
-
loc
Type: { x: <integer>
y: <integer> }
Default value: no default value
Attribute of: node
Description:
This attribute specifies the location of the node,
i.e. the x and y coordinates in relation to the coordinate system of
the graph. The origin is in the upper left corner.
For example, the specification
loc: { x: 100 y: 200 } places a node at location
(100, 200) in the coordinate system.
The location of nodes are not valid unless locations are specified
for all nodes, otherwise aiSee calculates appropriate
x and y coordinates according the layout algorithm chosen.
-
scaling
Type: float
Default value: 1.0
Attribute of: node
Description:
This attribute specifies the scaling factor of a node.
For details, see node attribute
shrink.
-
shape
Type:
box, rhomboid,
ellipse,
circle, triangle,
trapezoid,
uptrapezoid, hexagon,
lparallelogram, rparallelogram
Default value:
box
Attribute of: node
Description:
This attribute specifies the frame shape of a node.
Note: Drawing ellipses is slower than drawing other shapes.
- box
- circle
- ellipse
- hexagon
- lparallelogram
- rhomboid
- rparallelogram
- triangle
- trapezoid
- uptrapezoid
-
shrink, stretch
Type: integer
Default value: 1 for both
Attribute of: node
Description:
These attributes specify the shrinking and stretching factor of a node.
The values of the node attributes
width, height, borderwidth and
the size of the label is scaled by
((stretch / shrink) * 100) percent. The scale value
can also be specified by the node attribute
scaling.
Note: The actual scaling factor of a node is determined by the scale
factor of a node in relation to the scale factor of the graph, i.e.
if the scaling factor for the graph is (stretch, shrink) = (2, 1)
and (stretch, shrink) = (2, 1) for the node,
the node is scaled by a factor of 4 as compared to normal size.
-
textcolor
Type: black, blue, red, ...
Default value: black
Attribute of: node
Description:
Specifies the color for text labels of nodes.
For details on colors, see
section Colors.
See also node attributes
color and
bordercolor.
-
textmode
Type:
center,
left_justify,
right_justify
Default value:
center
Attribute of: node
Description:
This attribute specifies the alignment of text within a node frame.
-
title
Type: string
Default value: no default
Attribute of: node
Description:
This specifies the unique string identifying the node.
This attribute is mandatory for the node specification.
-
vertical_order
Type: integer or maxlevel
Default value: none (corresponds to -1)
Attribute of: node
Description:
In a hierarchical layout, this attribute specifies the vertical position
of a node. maxlevel tries to
position the node at the maximum calculated level.
Generally speaking, the vertical
position of nodes is called level or rank (see
rank assignment), with level being a synonym for vertical_order.
All level 0 nodes form the uppermost layer (the first layer), if
the orientation is top-down. Level 1 nodes form the second layer, etc.
The level specification is not in effect unless if an automatic layout
is being calculated. The layout is calculated automatically if there is at least
one node without a specified location (see loc attribute for
nodes
and summary nodes).
Note: The level specification may conflict with a
near edge
specification, because the source and target node
of a near edge have to have the same level. In this case, the level specification
of the source or target node of the near edge is ignored.
-
width
Type: integer
Default value: (node label width) pixels
Attribute of: node
Description:
This attribute specifies the width of a node including the border.
See also
height.