FB3Group BKB |
HomeService and SupportManual
|
||||||
| |||||||
Node Attributes
Supported Node Attributes
Node Attribute "OBJECT"
This is the most important attribute in a graph visualization.
It is used to specify the text that appears inside a node.
Usually each node should have this attribute.
See edge attribute
Node Attributes "FONTFAMILY"
This is used to visualize the text of a node in a different font.
Supported values are: "lucida" (default), "times", "helvetica",
and "courier".
See edge attribute
Node Attribute "FONTSTYLE"
This is used to visualize the text of a node in a different font.
Supported values are: "normal", "bold" (default), "italic",
and "bold_italic".
See edge attribute
Node Attribute "INFO"
This is used to define the
Node Attribute "HIDDEN"
This attribute is used to hide the subgraph of a node initially.
It is the same operation available in menu
Node Attribute "BORDER"This attribute defines the border of the geometrical object (except for "text" and "invisible"). The values for this attribute may be: "none", "single" (default) and "double". The objects "text" and "invisible" cannot lack a border at all. The default value for this attribute is "single". Node Attribute "COLOR"
Can be used to define the background color of a node.
The value of this attribute can be any X11 colorname on UNIX®
and LINUX® platforms (see file lib/X11/rgb.txt in your X11 directory).
On all platforms, a RGB color specification in a format like "#0f331e"
can be used.
Here, "0f" is the hexadecimal value for the red part of the color,
"33" is the green part and "1e" is the blue part of the color.
Hence, a palette of 16.7 million colors is supported.
The default color for nodes is "white".
See edge attribute
Node Attribute "CCOLOR"
Same as attribute
Node Attribute "_GO" (Graphical Object)"
This attribute specifies the geometrical object used to draw
a node. Supported values are:
"box" (default), "circle", "ellipse", "rhombus", "triangle", "text",
"invisible", "image" and "scissors"
(note: value "icon", available in previous releases, has been replaced
by "image", but is still supported for compatibility).
Object "text" is similar to object "box", in fact it is a box without
the border.
With object "image", color icons can be used to visualize a graph node.
Unfortunately, "image" is more complicated than the other graphical
objects.
The file with the image of the icon has to be specified with a
second attribute
Node Attribute "_CGO" (Graphical Object)
Same as attribute
Node Attribute "IMAGE"
This is used as a supplement for attribute
Notes about attribute "IMAGE":
Node Attribute "ICONFILE"
Used in former releases, but replaced by
Node Attribute "CIMAGE"
Same as attribute
Node Attribute "CICONFILE"
Used in former releases, but replaced by
Node Attribute for Pop-Up Menu
This attribute defines a pop-up menu for a node.
This has to be done with a completely different syntax.
Instead of using "a(...,...)", menus are defined with "m(menus)".
The syntax for the
|
|||||||
|
|||||||