Skip to main content
Version: 2.99

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 : No documentation yet
  • CreateDiagram CreateDiagram : This edition primitive addresses the creation of a new diagram.
  • AddShape AddShape : This edition primitive addresses the creation of a new shape in a diagram.
  • GraphicalAction GraphicalAction : No documentation yet