Specifies custom data for the SelfLoopRouter layout stage.
Inheritance Hierarchy
LayoutData
SelfLoopRouterData
Type Details
- yfiles module
- view-layout-bridge
- yfiles-umd modules
- view-layout-bridge
- Legacy UMD name
- yfiles.layout.SelfLoopRouterData
Constructors
Creates a new instance of SelfLoopRouterData which helps configuring SelfLoopRouter.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- fixedSelfLoops - ItemCollection<IEdge>
The collection of self-loop edges that should keep their current path and not be routed by the SelfLoopRouter. This option sets the fixedSelfLoops property on the created object.
Properties
Gets or sets the collection of self-loop edges that should keep their current path and not be routed by the SelfLoopRouter.
Remarks
Fixed self-loop edges are not routed but as all self-loops they are not visible for the router's core layout algorithm. Afterwards they are re-inserted with the same path as they originally had.
See Also
The value of this property has no effect if keepAllSelfLoopRoutes is enabled.
Methods
Combines this instance with the given layout data.
Remarks
This keeps the current instance unmodified and instead returns a new instance that dynamically combines the contents of all involved instances.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- data - LayoutData
- The LayoutData to combine this instance with.
Returns
- ↪LayoutData
- The combined layout data.