Info object used for retrieving information about each node from the layout algorithm.
Inheritance Hierarchy
RadialLayoutNodeInfo
Remarks
The information can be retrieved by registering with the graph a IDataProvider (which should also implement the IDataAcceptor interface) using key NODE_INFO_DP_KEY. The layout algorithm will return a RadialLayoutNodeInfo object with appropriately filled fields for each YNode when the layout is calculated.
Type Details
- yfiles module
- layout-radial
- yfiles-umd modules
- layout-radial, layout-hierarchic, layout-tree, layout
- Legacy UMD name
- yfiles.radial.RadialLayoutNodeInfo
This info object only delivers additional data which were calculated during the layout run and has no influence on layout calculation.
Constructors
Creates a new RadialLayoutNodeInfo instance.
Properties
Gets the offset from the center of the circle, the node is placed on, to the center of the node.
Gets the index of the circle the node is placed on.
Remarks
The circles used by the RadialLayout are indexed from the innermost to the outermost circle. Index
0
represents the center, i.e. the circle with radius 0
.Gets the size in degrees of the sector the node is placed in.
See Also
Gets the start angle in degrees of the sector the node is placed in.
Remarks
The angle refers to a counter-clockwise rotation starting at the 3 o'clock position.