This functionality is only available for certain module packages.

connection

Describes a connection between two nodes of the diagram.

Further elements, which are required for specifying of connections:

Attribute name Usage Attribute values Default value Description
color optional RGB value
0,0,0 to 255,255,255
Connection color as RGB value
id required ID of the element
labelFont optional Font-style-size Font type, style, and size for displaying text
name optional YES
NO
NO Formula,which returns a list of depending objects
reference optional ID of the reference element, that represents the connection as the EO
router optional
selectable optional
sourceDeco aggregation
arrow
composition
diamond
empty
filled-arrow
circle
filled-circle
triangle
filled-triangle
square
filled-square
empty End style of the line
aggregation = empty rhombus
arrow = arrow from lines
composition = filled rhombus
diamond = filled diamond
empty = without shape
filled-arrow = filled arrow
circle = circle
filled-circle = filled circle
triangle = triangle
filled-triangle = filled triangle
square = square
filled-square = filled square
sourceLabel optional Shows a label at the starting point of the connection
sourceLabelFont optional Font-style-size Font type, style and size for displaying the label text at the starting point of the connection
style optional line type
super optional NSEW Specifies the router ID of the router, which shall be used for the current <node> element, if it has an own connection layer.
targetDeco aggregation
arrow
composition
diamond
empty
filled-arrow
circle
filled-circle
triangle
filled-triangle
square
filled-square
empty End style of the line
aggregation = empty rhombus
arrow = arrow from lines
composition = filled rhombus
diamond = filled diamond
empty = without shape
filled-arrow = filled arrow
circle = circle
filled-circle = filled circle
triangle = triangle
filled-triangle = filled triangle
square = square
filled-square = filled square
targetLabel optional Shows a label at the endpoint of the connection
targetLabelFont optional Font-style-size Font type, style and size for displaying the label text at the end point of the connection
tooltip optional Text displayed as a tooltip. If a formula is used, it can be referenced to the start node with src and to the destination node with target.
visible optional true, false Visibility
true = visible
false = hidden
The following variables are also available to control visibility by way of the formula:
- src: supplies the source object of the connection
- target: supplies the target object of the connection
- diagram: supplies the diagram object
- diagramParent: supplies the parent project component of the diagram
width optional line width
Allowed sub-elements Quantity
none

Shapes of connections (attributes sourceDeco and targetDeco):

Attribute value Representation
aggregation
arrow
composition
diamond
empty
filled-arrow
circle
filled-circle
triangle
filled-triangle
square
filled-square