Properties of the dagNode
The table shows the properties of the dagNode. The text that follows explains each property in more detail.
|
Name
|
SKILL Type
|
Description
|
|
name
|
string
|
Name of the node. This name is automatically displayed to represent the node in the graph when textOnly is t for the tool. This property is read-only.
|
|
textColor
|
fixNum
|
Color that the name of this node is drawn in when displayed in a dagTool. This property only takes effect when textOnly is t for the tool.
|
|
buttonColor
|
fixNum
|
Background color that this node will have when displayed in a dagTool when textOnly is t for the tool.
|
|
label
|
string
|
The value of this property for the node is shown when showLabels is t for the tool. The label is shown in addition to what would otherwise have been displayed for the node based on the value of textOnly for the tool. The default is the empty string "".
|
|
type
|
symbol
|
Type of this object. The symbol for this object is dagNode. This property is read-only.
|
|
actionList
|
list
|
List of actions that this node can do. These are only the actions that are specific to this node; see expandedActions below. Action lists are described in more detail in the action list section. This property is read-only. The default is nil.
|
|
expandedActions
|
list
|
List of all the actions that a node can do. This list is the concatenation of the actions specified on the class and those specified on the node. This property is read-only. The default is nil.
|
|
displayList
|
wType
|
Display list that this node uses when drawn in a browser tool. It must either be defined for the node or inherited from its class. When textOnly is t for the tool, the contents of the display list property will be ignored.
|
|
class
|
wType
|
Class of this node as returned by dagCreateClass. This property is read-only.
The dagNode properties parents, parentObjects, children, and childObjects are created whenever a linking function is called to link two nodes together. They are modified whenever an unlinking function is called to break two nodes apart. These properties can be modified only by calling the linking and unlinking functions; they are read-only properties of the node.
|
|
parentObjects
|
list
|
List of nodes that this node attaches as parents.
|
|
parents
|
list
|
List of dagArcs that this node attaches as parents.
|
|
childObjects
|
list
|
List of nodes that this node attaches as children.
|
|
children
|
list
|
List of dagArcs that this node attaches as children.
|
|
x
|
fixNum
|
X position in a dagTool at which this node resides. Node positions are specified relative to the lower left corner of the window and of the node bounding box.
|
|
y
|
fixNum
|
Y position in a dagTool at which this node resides. Node positions are specified relative to the lower left corner of the window and of the node bounding box.
|
|
invisible
|
[t or nil]
|
Property that causes the dag functions not to display the node and automatic routing not to route to it. However, automatic placement will reserve room for it in the placed graph.
|
|
pruned
|
t, nil, or pruneChildren
|
Node and its children should not be processed or drawn by the dag functions.
|
Related Topics
Properties of the dagArc
Properties of the dagClass
Properties of the dagTool
Return to top