This functionality is only available for certain module packages.

You are here: Reference > GRAPH2D > Tags > node

node

Each element <node> defines a graphical element that can be added to the diagram. Nodes are the graphical representations of engineering objects.

Attribute name Usage Attribute values Default value Description
acceptedChildren optional IDREFS A list of IDs and slaves, which can be added to the current node.
id required Unique ID of the action
labelText Only required for figureStickyNote Text that represents the node in the tool palette
router optional ID of a router Specifies the router ID of the router, which shall be used for the current <node> element, if it has an own connection layer.
slaveNodes optional String Formula,which returns a list of depending objects
super optional Id of a node from which the properties are inherited.
valid optional Formula to determine whether an EO is represented graphically by the current node. The formula is compared with the EO
verticalLinePosition optional 0 through 1 1 If the container element supports the display of the cursor position, then this attribute defines to which page the cursor shall jump.
0 = West
0.5 = Center
1 = East
Allowed sub-elements Quantity
figureBase 0..1
figureContainer 0..1
figureEllipse 0..1
figure-ganttContainer 0..1
figureImage 0..1
figureLabel 0..1
figurePolygon 0..1
figureStickyNote 0..1
property any
slaveNode any

Explanation:

The validity of the node is checked using the attribute valid="=isInstanceEO() and isInstanceOf('IT_Architecture.Levelcomponents.Floor')". The term isInstanceEO() checks whether the node represents an instance from the project tree. The type of the project component is determined via the termand isInstanceOf('IT_Architecture.Levelcomponents.Floor').

To show this, the demo model BodyshellWork is modified in a kind, that up to four robots are grouped as slaves around a robot station. The first figure below shows the robot station with two robots as the current state of the diagram.

With closed diagram, an additional robot is instantiated (1.) and then the diagram is opened again (see below).

The additional robot is docked as a slave to the RobotStation in the diagram without interaction (2.). To identify the added robot, the border is differently colored (in this example, red), as the previously existing robots. As the robot was inserted without additional interaction in the diagram, the chart is in the change condition (see Working in the editor area). Only when the diagram is stored, the robot is permanently inserted in the diagram and its border changes its color to the normal value.

To reset the frame color without saving the state of the diagram, the F6 key is to press.