- To add a connection label for a connection, click the connection.
The Line Properties section and the Connection Properties section of the Modelica Graphics Properties dialog box are expanded. - In the Connection Properties section, you can:
- In the Text Label box, enter the name of the label.
- Optional:
Change the Color.
- Optional:
Change the position of the label by changing Point Index, X Offset, and Y Offset.
- For Point Index you can use values corresponding to the coordinate point in the Modelica Text annotation of the connection line. As an example, assume that a connection line has 4 such points. The following is valid:
- 1 put label near start point (first point) of connection line.
- 2 put label near second point on the connection line.
- 3 put label near third point on the connection line.
- 4 put label near fourth point (endpoint) of connection line.
- Using the above values with minus sign reverts them, for example, -1 means put label near endpoint ("first point reverted direction"), -4 means put label near start point of connection.
- Any other value means that point index offset is not used.
- For X Offset and Y Offset you can enter the X position offset and Y position offset as coordinates, positive or negative, relative to the center of the label when having offset 0 (no offset).
A connection label is created for the selected connection. - To edit a connection label, click the corresponding connection and edit the values in the Connection Properties section of the Modelica Graphics Properties dialog box
|