A utilities class that provides methods for configuring edge-related properties like connector coordinates and arrows.
Members
Static Methods
Applies the arrows of the given IEdgeStyle to the Stylable object.
Applies the arrows of the given IEdgeStyle to the Stylable object.
Parameters
- edgeStyle: IEdgeStyle
- stylable: Stylable
Glues the begin coordinates of a connector to the connection of the given shape.
Glues the begin coordinates of a connector to the connection of the given shape.
More precisely, it adds formulas to the connector's Shape.beginX and Shape.beginY cells that connect the connector to the connection's Connection.x and Connection.y cells. It also adds a Connect element to the page or master of the connector.
Parameters
- connector: Shape
The connector shape.
- connection: Connection
The connection.
Glues the end coordinates of a connector to the connection of the given Shape.
Glues the end coordinates of a connector to the connection of the given Shape.
More precisely, it adds formulas to the connector's Shape.endX and Shape.endY cells that connect the connector to the connection's Connection.x and Connection.y cells. It also adds a Connect element to the page or master of the connector.
Parameters
- connector: Shape
The connector shape.
- connection: Connection
The connection.