Class DirectedTreeLayout
Represents the DirectedTreeLayout of layout.
Implements
Namespace: Syncfusion.SfDiagram.iOS
Assembly: Syncfusion.SfDiagram.iOS.dll
Syntax
public class DirectedTreeLayout : TreeLayoutBase, ILayout, IInternalLayout
Constructors
DirectedTreeLayout()
Initializes a new instance of the DirectedTreeLayout class.
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 |
---|
LayoutType |
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 | parent node. |
System.Collections.Generic.IEnumerable<Node> | children | children node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Node> | return ArrangeChildren. |
UpdateLayout()
Update the direct tree layout.
Declaration
public override void UpdateLayout()
Overrides
UpdateLayout(Object)
Define the update layout override method for direct tree layout.
Declaration
public override void UpdateLayout(object fixedNode)
Parameters
Type | Name | Description |
---|---|---|
System.Object | fixedNode | fixed Node. |