This class provides settings for the layout of the individual partitions of the CircularLayout.
Inheritance Hierarchy
Members
Show:
Properties
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.
If style is set to COMPACT_DISK, this setting is ignored.
final
Property Value
true, if the radius of the circle is determined automatically, false, otherwiseDefault Value
The default value is: true
The radius will be chosen automatically.
See Also
Developer's Guide
API
- minimumRadius, fixedRadius
If the radius is too small, the nodes on the circle may overlap with each other.
This fixed radius is only considered if the radius is not automatically selected by the layout algorithm.
If style is set to COMPACT_DISK, this setting is ignored.
final
Property Value
the fixed radius for the circle
Throws
- Exception ({ name: 'ArgumentError' })
- if the given radius is negative
Default Value
The default value is: 200
Sample Graphs
ShownSetting:
200See Also
Developer's Guide
API
- minimumRadius, automaticRadius
The minimum node distance will be ignored if the automatic radius selection is disabled. In that case, the distance between nodes will follow from the specified fixedRadius.
final
Property Value
the non-negative minimum distance between nodes
Throws
- Exception ({ name: 'ArgumentError' })
- if the given distance is negative
Default Value
The default value is: 30
Sample Graphs
ShownSetting: Minimum node distance set to
30See Also
Developer's Guide
This setting is only considered if style is set to CYCLE and the automatic radius selection is enabled.
final
Property Value
the minimum circle radius
Throws
- Exception ({ name: 'ArgumentError' })
- if the given minimum radius is negative
Default Value
The default value is: 5.0
See Also
Gets or sets the layout style for the partitions.
Gets or sets the layout style for the partitions.
The partitioning of the input graph can be controlled with the partitioningPolicy property.
conversionfinal
Property Value
one of the partition layout styles
Default Value
The default value is: CircularLayoutPartitionStyle.CYCLE
All nodes of a partition are placed on the boundary of a circle.
See Also
Developer's Guide