WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SubgraphTreeLayoutManager - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SubgraphTreeLayoutManager

    The SubgraphTreeLayoutManager is a special type of the DirectedTreeLayoutManager that enables the sub nodes of a diagram layout tree to have an orientation that is distinct from the parent node. The sub graph orientation is specified using a SubgraphPreferredLayout event that the layout manager raises before positioning each set of sub nodes in the graph. GraphLayoutManager DirectedTreeLayoutManager

    Inheritance
    System.Object
    LayoutManager
    GraphLayoutManager
    DirectedTreeLayoutManager
    SubgraphTreeLayoutManager
    Inherited Members
    DirectedTreeLayoutManager.m_LayoutType
    DirectedTreeLayoutManager.MakeLayout(Graph)
    DirectedTreeLayoutManager.ApplyRotation(Graph)
    DirectedTreeLayoutManager.MakeGraphLayout(Graph)
    DirectedTreeLayoutManager.ExtractSubGraph(GraphNode, Int32, Graph)
    DirectedTreeLayoutManager.NormalizeNodes(ArrayList, Int32)
    DirectedTreeLayoutManager.DoInitXLayout(Graph)
    DirectedTreeLayoutManager.XCoordRoutine(IGBounds, Single)
    DirectedTreeLayoutManager.MakeLayout(ArrayList, Int32, Graph)
    DirectedTreeLayoutManager.WaterFallNodePosition(GraphNode)
    DirectedTreeLayoutManager.CalcRankPositionVerticalLayout(Int32, Graph)
    DirectedTreeLayoutManager.GetSubGraphDimension(Int32, Int32, Dimension, Graph)
    DirectedTreeLayoutManager.YCoordinateRoutine(ArrayList, Single)
    DirectedTreeLayoutManager.RotationAngle
    GraphLayoutManager.m_fXBorder
    GraphLayoutManager.m_fYBorder
    GraphLayoutManager.m_fYHighest
    GraphLayoutManager.UpdateLayout(Object)
    GraphLayoutManager.OnPreferredLayout(PreferredLayoutEventArgs)
    GraphLayoutManager.UpdateLayout(NodeCollection)
    GraphLayoutManager.VerticalSpacing
    GraphLayoutManager.HorizontalSpacing
    GraphLayoutManager.PassedNodes
    GraphLayoutManager.SelectedNode
    GraphLayoutManager.ImprovePerformance
    GraphLayoutManager.PreferredLayout
    LayoutManager.mdl
    LayoutManager.autoLayoutFlag
    LayoutManager.LayoutUpdated
    LayoutManager.OnNodeCollectionChanged(CollectionExEventArgs)
    LayoutManager.OnConnectionsChanged(CollectionExEventArgs)
    LayoutManager.OnLayoutUpdated(EventArgs)
    LayoutManager.OnPropertyChanged(PropertyChangedEventArgs)
    LayoutManager.Nodes
    LayoutManager.Model
    LayoutManager.AutoLayout
    LayoutManager.UpdatingLayout
    LayoutManager.LeftMargin
    LayoutManager.TopMargin
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class SubgraphTreeLayoutManager : DirectedTreeLayoutManager

    Constructors

    SubgraphTreeLayoutManager()

    Initializes a new instance of the SubgraphTreeLayoutManager class.

    Declaration
    public SubgraphTreeLayoutManager()

    SubgraphTreeLayoutManager(Model, Single, Int32, Int32)

    Initializes a new instance of the SubgraphTreeLayoutManager class.

    Declaration
    public SubgraphTreeLayoutManager(Model model, float fRotationDegree, int nVerticalOffset, int nHorizontalOffset)
    Parameters
    Type Name Description
    Model model

    The diagram Model.

    System.Single fRotationDegree

    The root to child orientation to be used for the tree.

    System.Int32 nVerticalOffset

    Specifies the vertical distance between adjacent nodes.

    System.Int32 nHorizontalOffset

    Specifies the horizontal distance between adjacent nodes.

    Methods

    DoGraphLayout()

    Applies the layout strategy on the diagram.

    Declaration
    protected override void DoGraphLayout()
    Overrides
    DirectedTreeLayoutManager.DoGraphLayout()

    MakeChangingDirectionGraphLayout(Graph)

    Makes the changing direction graph layout.

    Declaration
    protected void MakeChangingDirectionGraphLayout(Graph graphToLayout)
    Parameters
    Type Name Description
    Graph graphToLayout

    The graph to layout.

    MakeChangingDirectionLayout(Graph)

    Performs the graph layout.

    Declaration
    protected void MakeChangingDirectionLayout(Graph graphSorting)
    Parameters
    Type Name Description
    Graph graphSorting

    The graph on which the layout is being applied.

    Events

    SubgraphPreferredLayout

    Occurs before a sub node graph is positioned.

    Declaration
    public event SubgraphPreferredLayoutEventHandler SubgraphPreferredLayout
    Event Type
    Type Description
    SubgraphPreferredLayoutEventHandler
    Remarks

    Handling the SubgraphPreferredLayout event provides users with the ability to specify a distinct orientation and bounds for the sub nodes.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved