This class provides settings for the layout of the individual partitions of the CircularLayout.
Default Values of Properties
automaticRadius | true | The radius will be chosen automatically. |
fixedRadius | 200 | |
minimumNodeDistance | 30 | |
style | CYCLE
| All nodes of a partition are placed on the boundary of a circle. |
Type Details
- yFiles module
- algorithms
Properties
Gets or sets whether the radius of the circle should be determined automatically.
Remarks
If enabled, the radius will be chosen such that the distance between nodes which are next to each other on the circle is approximately the same as the addMinimumDistance.
If this feature is disabled, the radius specified via fixedRadius will be applied.
Default Value
true
.The radius will be chosen automatically.
Property Value
true
, if the radius of the circle is determined automatically, false
, otherwiseSee Also
Gets or sets a fixed radius for the circle on which the nodes will be placed.
Default Value
200
.Property Value
Throws
- Exception({ name: 'ArgumentError' })
- if the given radius is negative
See Also
Sample Graphs
Gets or sets the angle in degrees that describes the location on the circle of the first node.
Remarks
0
means right, 90
means down.Default Value
0.0
.The first node is placed right.
Property Value
Sample Graphs
Gets or sets the minimum distance between nodes that are next to each other on the circle.
Default Value
30
.Property Value
Throws
- Exception({ name: 'ArgumentError' })
- if the given distance is negative
Sample Graphs
Gets or sets the minimum radius for the circle on which the nodes are placed.
Default Value
5.0
.Property Value
Throws
- Exception({ name: 'ArgumentError' })
- if the given minimum radius is negative
See Also
Gets or sets the layout style for the partitions.