Specifies custom data for the StraightLineEdgeRouter.
Type Details
- yfiles module
- view-layout-bridge
- yfiles-umd modules
- view-layout-bridge
- Legacy UMD name
- yfiles.router.StraightLineEdgeRouterData
Constructors
Creates a new instance of StraightLineEdgeRouterData which helps configuring StraightLineEdgeRouter.
Parameters
A map of options to pass to the method.
- affectedEdges - DpKeyItemCollection<IEdge>
The collection of affected edges. This option sets the affectedEdges property on the created object.
- affectedNodes - DpKeyItemCollection<INode>
The collection of affected nodes. This option sets the affectedNodes property on the created object.
- sourcePortConstraints - ItemMapping<IEdge,PortConstraint>
A mapping from edges to their source PortConstraint. This option sets the sourcePortConstraints property on the created object.
- targetPortConstraints - ItemMapping<IEdge,PortConstraint>
A mapping from edges to their target PortConstraint. This option sets the targetPortConstraints property on the created object.
Properties
Gets or sets the collection of affected edges.
Remarks
See Also
Gets or sets the collection of affected nodes.
Remarks
See Also
Gets or sets a mapping from edges to their source PortConstraint.
Gets or sets a mapping from edges to their target PortConstraint.
Methods
Combines this instance with the given layout data.
Remarks
Parameters
A map of options to pass to the method.
- data - LayoutData
- The LayoutData to combine this instance with.
Returns
- ↪LayoutData
- The combined layout data.