This functionality is only available for certain module packages.

You are here: EEC > GRAPH2D > Node > Nodes as master with slave > Orientation of master and slave

Orientation of master and slave

The positioning of the slave node on the border of the master node may be specified in the configuration of the master node. The principle for positioning on the outside edge of the master node is called outside-edged, while positioning on the inside edge is called inside-edged (not currently supported).

A slave node is initially positioned at one of the cardinal directions relative to the master node as specified by the direction attribute of the <slaveNode> element. Which cardinal direction a slave node may be moved to manually in relation to the master node is specified by the direction attribute of the <movement> sub-element.

Sample code for aligning slave nodes to a master node:

The example of the thermodynamic model demonstrates how to align inputs and outputs as slave nodes that are always aligned in relation to the master node so as to ensure that the airflow direction is maintained.

In the configuration of the master node (id=”AbstractThermodynamicComponent"), the slaveNodes=”=rmos(‘Thermodynamic_Architecture.ConnectionPoint')" attribute indicates that all subordinate components of the ConnectionPoint type are to be aligned as slave nodes.

Nodes with node=”AirInput” and nodes with nodes=”AirOutput” are all defined as slave nodes. Their orientation in relation to the master node is specified by the direction="WEST" and direction="EAST" attribute.