alexa

    Show / Hide Table of Contents

    Class ForceDirectedTreeLayoutManager

    Represents a class to arrange the nodes and connectors automatically in a Force directed tree layout.

    Inheritance
    System.Object
    LayoutManager
    GraphLayoutManager
    ForceDirectedTreeLayoutManager
    Inherited Members
    GraphLayoutManager.HorizontalSpacing
    GraphLayoutManager.ImprovePerformance
    GraphLayoutManager.m_fXBorder
    GraphLayoutManager.m_fYBorder
    GraphLayoutManager.m_fYHighest
    GraphLayoutManager.OnPreferredLayout(PreferredLayoutEventArgs)
    GraphLayoutManager.PassedNodes
    GraphLayoutManager.PreferredLayout
    GraphLayoutManager.SelectedNode
    GraphLayoutManager.UpdateLayout(NodeCollection)
    GraphLayoutManager.UpdateLayout(Object)
    GraphLayoutManager.VerticalSpacing
    LayoutManager.AutoLayout
    LayoutManager.autoLayoutFlag
    LayoutManager.LayoutUpdated
    LayoutManager.LeftMargin
    LayoutManager.mdl
    LayoutManager.Model
    LayoutManager.Nodes
    LayoutManager.OnConnectionsChanged(CollectionExEventArgs)
    LayoutManager.OnLayoutUpdated(EventArgs)
    LayoutManager.OnNodeCollectionChanged(CollectionExEventArgs)
    LayoutManager.OnPropertyChanged(PropertyChangedEventArgs)
    LayoutManager.TopMargin
    LayoutManager.UpdatingLayout
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class ForceDirectedTreeLayoutManager : GraphLayoutManager
    Remarks

    This layout use special force node Syncfusion.Windows.Forms.Diagram.GraphForceNode what added to graphNode tag. LayoutManager GraphLayoutManager

    Constructors

    ForceDirectedTreeLayoutManager()

    Initializes a new instance of the ForceDirectedTreeLayoutManager class.

    Declaration
    public ForceDirectedTreeLayoutManager()

    ForceDirectedTreeLayoutManager(Model, Single)

    Initializes a new instance of the ForceDirectedTreeLayoutManager class.

    Declaration
    public ForceDirectedTreeLayoutManager(Model model, float fVerticalDistance)
    Parameters
    Type Name Description
    Model model

    The diagram Model.

    System.Single fVerticalDistance

    Specifies the distance between adjacent nodes.

    Properties

    AttractionStrength

    Gets or sets the Attraction Strength

    Declaration
    public double AttractionStrength { get; set; }
    Property Value
    Type Description
    System.Double

    The spring factor.

    MaximumIteration

    Gets or sets the maximum count of iteration.

    Declaration
    public int MaximumIteration { get; set; }
    Property Value
    Type Description
    System.Int32

    The max iteration.

    RepulsionStrength

    Gets or sets the Repulsion strength.

    Declaration
    public int RepulsionStrength { get; set; }
    Property Value
    Type Description
    System.Int32

    The max iteration.

    Methods

    DoGraphLayout()

    Applies the radial directed tree layout strategy on the diagram.

    Declaration
    protected override void DoGraphLayout()
    Overrides
    GraphLayoutManager.DoGraphLayout()
    Back to top Generated by DocFX