Type Details
- yfiles module
- layout-radial
- yfiles-umd modules
- layout-radial, layout-hierarchic, layout-tree, layout
- Legacy UMD name
- yfiles.radial.CenterNodesPolicy
See Also
Constants
Specifier for a center nodes policy which chooses the node with the highest centrality as center node.
Specifier for a center nodes policy which uses center nodes specified by the user.
Remarks
The center nodes have to be specified using a IDataProvider registered with the according key. The IDataProvider returns true
for nodes that should be placed in the center.
If there exists more than one center node, they will be placed on the innermost circle while the center position stays empty.
See Also
Sample Graphs
Specifier for a center nodes policy which chooses all nodes with in-degree equal to 0
as center nodes.
Remarks
If no node with this property is present, an arbitrary node will be selected.
See Also
Sample Graphs
Specifier for a center nodes policy which chooses the node with the highest weighted centrality as center node.
See Also
Sample Graphs
Static Methods
Converts the argument to CenterNodesPolicy.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - CenterNodesPolicy
- The value to convert to CenterNodesPolicy.
Returns
- ↪CenterNodesPolicy
- Either
value
if it is already a CenterNodesPolicy or an appropriate converted value.