menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SymmetricLayoutManager - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SymmetricLayoutManager

    The SymmetricTreeLayoutManager is a specialization of the and employs a force-directed layout algorithm for laying out the diagram nodes. Where nodes positions by spring, angle and neighbour forces and moved to vector force sum.

    Inheritance
    System.Object
    LayoutManager
    GraphLayoutManager
    SymmetricLayoutManager
    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 SymmetricLayoutManager : GraphLayoutManager
    Remarks

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

    Constructors

    SymmetricLayoutManager()

    Initializes a new instance of the SymmetricLayoutManager class.

    Declaration
    public SymmetricLayoutManager()

    SymmetricLayoutManager(Model, Single)

    Initializes a new instance of the SymmetricLayoutManager class.

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

    The diagram Model.

    System.Single fVerticalDistance

    Specifies the distance between adjacent nodes.

    Properties

    MaxIteraction

    Gets or sets the max count of iteration.

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

    The max iteration.

    SpringFactor

    Gets or sets the spring factor.

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

    The spring factor.

    SpringLength

    Gets or sets the length of the spring.

    Declaration
    public float SpringLength { get; set; }
    Property Value
    Type Description
    System.Single

    The length of the spring.

    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
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved