This class provides routing settings for edges routed internally by the CircularLayout.
Remarks
Default Values of Properties
Type Details
- yfiles module
- layout-organic
- yfiles-umd modules
- layout-multipage, layout-organic, layout
- Legacy UMD name
- yfiles.circular.EdgeLayoutDescriptor
See Also
Constructors
Creates a new CircularLayoutEdgeLayoutDescriptor instance with default settings.
Parameters
A map of options to pass to the method.
- inCircleRoutingStyle - CircularLayoutRoutingStyle
The routing style for edges within partitions. This option sets the inCircleRoutingStyle property on the created object.
- onCircleRoutingStyle - CircularLayoutOnCircleRoutingStyle
The routing style for edges between neighbors in one partition. This option sets the onCircleRoutingStyle property on the created object.
- betweenCirclesRoutingStyle - CircularLayoutRoutingStyle
The routing style for edges between partitions. This option sets the betweenCirclesRoutingStyle property on the created object.
- createControlPoints - boolean
Whether or not the points of the resulting edge path represent cubic bezier control points. This option sets the createControlPoints property on the created object.
Properties
Gets or sets the routing style for edges between partitions.
Default Value
Throws
- Exception({ name: 'ArgumentError' })
- if an unknown routing style is given
Gets or sets whether or not the points of the resulting edge path represent cubic bezier control points.
Remarks
- Disabled (default): Each point of the path represents a normal polyline bend point.
- Enabled: Four consecutive points p1, p2, p3, p4 of the resulting edge path need to be interpreted such that p1 is the start point of the cubic bezier curve, p4 is the end point of it and p2, p3 are the two intermediate control points. If p4 is not the last point of the edge path it is at the same time the start point of the next curve. For example, points p1, p2, p3, p4, p5, p6, p7 form a path that consists of two curves: the curve defined by p1, p2, p3, p4 and the curve defined by p4, p5, p6, p7.
Default Value
false
.Each point is a normal polyline bend point.