Class RadialTreeLayoutManager
The RadialTreeLayoutManager is a specialization of the DirectedTreeLayoutManager and employs a circular layout algorithm for laying out the diagram nodes. The RadialTreeLayoutManager positions the root node at the center of the graph, and locates the child nodes in a circular fashion around the root. Sub-trees formed by the branching of child nodes are located radially around the child nodes. This arrangement results in an ever-expanding concentric arrangement with radial proximity to the root node indicating the node level in the hierarchy.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class RadialTreeLayoutManager : DirectedTreeLayoutManager
Remarks
Constructors
RadialTreeLayoutManager()
Initializes a new instance of the RadialTreeLayoutManager class.
Declaration
public RadialTreeLayoutManager()
RadialTreeLayoutManager(Model, Single, Single, Single)
Initializes a new instance of the RadialTreeLayoutManager class.
Declaration
public RadialTreeLayoutManager(Model model, float fRotationDegree, float fVerticalOffset, float fHorizontalOffset)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The diagram Model. |
System.Single | fRotationDegree | The angular orientation of the tree. |
System.Single | fVerticalOffset | Specifies the vertical distance between adjacent nodes. |
System.Single | fHorizontalOffset | Specifies the horizontal distance between adjacent nodes. |
Methods
DoGraphLayout()
Applies the radial directed tree layout strategy on the diagram.
Declaration
protected override void DoGraphLayout()
Overrides
GetSubGraphDimension(Int32, Int32, Dimension)
Gets the sub graph dimension.
Declaration
protected float GetSubGraphDimension(int nFromRank, int nToRank, Dimension dimension)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nFromRank | The rank from. |
System.Int32 | nToRank | The rank to. |
Dimension | dimension | The dimension. |
Returns
Type | Description |
---|---|
System.Single | The dimension. |