Class DirectedTreeLayout
Represents the base class of DirectedTreeLayout.
Implements
Namespace: Syncfusion.SfDiagram.Android
Assembly: Syncfusion.SfDiagram.Android.dll
Syntax
public class DirectedTreeLayout : TreeLayoutBase, ILayout, IInternalLayout
Constructors
DirectedTreeLayout()
Initializes a new instance of the DirectedTreeLayout class. Initialize DirectedTreeLayout method.
Declaration
public DirectedTreeLayout()
Properties
IsDraggable
Gets or sets a value indicating whether Drag.
Declaration
public bool IsDraggable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Gets or sets the Drag of the Layout. |
TreeOrientation
Gets or sets Orientation.
Declaration
public TreeOrientation TreeOrientation { get; set; }
Property Value
Type | Description |
---|---|
TreeOrientation | Gets or sets the Orientation of the Layout. |
Type
Gets or sets Type.
Declaration
public LayoutType Type { get; set; }
Property Value
Type | Description |
---|---|
LayoutType | Gets or sets the Type of the Layout. |
Methods
ArrangeChildren(Node, IEnumerable<Node>)
Determine the order of Node's neighbor, during automatic layout.
Declaration
protected virtual IEnumerable<Node> ArrangeChildren(Node parent, IEnumerable<Node> children)
Parameters
Type | Name | Description |
---|---|---|
Node | parent | the parent node. |
System.Collections.Generic.IEnumerable<Node> | children | the children object. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Node> | returns the children nodes. |
UpdateLayout()
Initialize UpdateLayout method.
Declaration
public override void UpdateLayout()
Overrides
UpdateLayout(Object)
Method to update layout
Declaration
public override void UpdateLayout(object fixedNode)
Parameters
Type | Name | Description |
---|---|---|
System.Object | fixedNode | the fixed node. |