Skip to main content
Version: 2.1.0

AddConnector   AddConnector

This edition primitive addresses the creation of a new connector linking two shapes in a diagram


Usage

[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

PropertyType 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 [`ConnectorRole`](ConnectorRole.html) : No documentation yet
  • CreateDiagram [`CreateDiagram`](CreateDiagram.html) : This edition primitive addresses the creation of a new diagram.
  • AddShape [`AddShape`](AddShape.html) : This edition primitive addresses the creation of a new shape in a diagram.
  • GraphicalAction [`GraphicalAction`](GraphicalAction.html) : No documentation yet