Class MindMapLayout
Represents the details about mind map layout.
Implements
Namespace: Syncfusion.SfDiagram.Android
Assembly: Syncfusion.SfDiagram.Android.dll
Syntax
public class MindMapLayout : TreeLayoutBase, ILayout, IInternalLayout
Constructors
MindMapLayout()
Initializes a new instance of the MindMapLayout class.
Declaration
public MindMapLayout()
Properties
EnableFreeForm
Gets or sets a value indicating whether EnableFreeFormLayout.
Declaration
public bool EnableFreeForm { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Gets or sets the EnableFreeFormLayout of the Layout. |
LayoutStyle
Gets or sets the LayoutStyle of the MindMap layout.
Declaration
public LayoutStyle LayoutStyle { get; set; }
Property Value
Type | Description |
---|---|
LayoutStyle | The LayoutStyle of the diagram layout. |
MindMapOrientation
Gets or sets MindMapOrientation.
Declaration
public Orientation MindMapOrientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | Gets or sets the MindMapOrientation of the Layout. |
RootNode
Gets or RootNode.
Declaration
public Node RootNode { get; }
Property Value
Type |
---|
Node |
Methods
ArrangeChildren(Object, IEnumerable<Node>)
Determine the order of Node's neighbor, during automatic layout.
Declaration
protected virtual IEnumerable<Node> ArrangeChildren(object parent, IEnumerable<Node> children)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | parent value. |
System.Collections.Generic.IEnumerable<Node> | children | children value. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Node> | returns children. |
UpdateLayout()
Override UpdateLayout method from its base class.
Declaration
public override void UpdateLayout()
Overrides
UpdateLayout(Object)
Override UpdateLayout method from its base class.
Declaration
public override void UpdateLayout(object fixedNode)
Parameters
Type | Name | Description |
---|---|---|
System.Object | fixedNode | fixed node value. |
Overrides
UpdateLayoutStyle(LayoutStyle)
Updates the theme.
Declaration
public void UpdateLayoutStyle(LayoutStyle layoutStyle)
Parameters
Type | Name | Description |
---|---|---|
LayoutStyle | layoutStyle | the Theme. |
UpdateLeftOrTop()
UpdateLeftOrTop for mind map layout.
Declaration
public void UpdateLeftOrTop()
UpdateRightOrBottom()
UpdateRightOrBottom for mind map layout.
Declaration
public void UpdateRightOrBottom()