AddConnector
This edition primitive addresses the creation of a new connector linking two shapes in a diagramUsage
[DiagramConnector <value> =]
AddConnector(fromShape=<fromShape_path>,toShape=<toShape_path>)
or
[DiagramConnector <value> =]
DIAGRAM::AddConnector(fromShape=<fromShape_path>,toShape=<toShape_path>)
where
- \<fromShape_path> addresses a
DiagramShape - \<toShape_path> addresses a
DiagramShape
Configuration
| Property | Type | Required |
|---|---|---|
fromShape | DiagramShape | yes |
toShape | DiagramShape | yes |
fromShape:toShape:
Examples
myConnector = AddConnector(fromShape=myFirstShape,toShape=mySecondShape) in (myDiagram);
Creates a new connector in Diagram identified by ‘myDiagram’ expression, binding the shapes respectively identified by 'myFirstShape' and 'mySecondShape', and assign this new connector to ‘myConnector’
Javadoc
org.openflexo.technologyadapter.diagram.fml.editionaction.AddConnector
See also
-
ConnectorRole : No documentation yet -
CreateDiagram : This edition primitive addresses the creation of a new diagram. -
AddShape : This edition primitive addresses the creation of a new shape in a diagram. -
GraphicalAction : No documentation yet