This functionality is only available for certain module packages.

You are here: EEC > GRAPH2D > Node > Nested nodes

Nested nodes

Nodes are also arranged in nested order within a diagram in accordance with the hierarchy of the mechatronic structure. For example, in the planning diagram for the ‘Bodyshell work’ model, roller conveyors and robots can only be positioned within a safety circuit. To this end, a list of all subordinate nodes is defined in the configuration of the superordinate node by means of the acceptedChildren attribute.

Sample code for a nested structure:

This example illustrates the nesting of a safety circuit and robots in the planning diagram for the ‘Bodyshell work’ demo model. The relevant parts of the code are in boldface. Every node that corresponds to the configuration of Function and LabelAsSlave is permitted as a subordinate node of SafetyCircuit. In this example, the node for robots is configured as a Function and is therefore a permitted sub-element of SafetyCircuit.