NevronOpenVision
Nevron.Nov.Diagram.Layout Namespace / NLayeredGraphLayout Class
Fields Properties Methods Events


In This Topic
    NLayeredGraphLayout Class Members
    In This Topic

    The following tables list the members exposed by NLayeredGraphLayout.

    Public Constructors
     NameDescription
    Public ConstructorDefault constructor.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Reference to the BusMargin property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Compact property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the CrossingReductionForgivnessNumber property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the EdgeRouting property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the VertexSpacing property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the LayerSpacing property  
    Public Fieldstatic (Shared in Visual Basic)Schema associated with the layout.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the NodeAlignment property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the NodeRank property  
    Public Fieldstatic (Shared in Visual Basic)Referense to the PlugSpacing property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the RandomnessOptimization property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the SelfLoopSpacingFactor property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the StraightenLinesProperty  
    Public Fieldstatic (Shared in Visual Basic)Reference to the UseSingleBus property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the VertexSpacing property  
    Top
    Protected Fields
     NameDescription
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the top and bottom margin (left and right margin for LeftToRight and RightToLeft layouts) to apply to the connector busses lane defined by LayerSpacing in order to determine the size of the area for inter-layer connectors. Should be less than or equal to half of the LayerSpacing. If set to a larger value, LayerSpacing / 2 is used. By default set to 0, which means that connector busses will occupy the whole space between layers.  
    Public PropertyDetermines whether the layout should try to minimize the width (for TopToBotttom and BottomToTop layouts) or height (for LeftToRight and RightToLeft layouts) of the drawing. By default set to true.  
    Public PropertyDefines the number of times without a reduction to the number of edge crossings after which the crossing reduction algorithm should stop traversing the graph. Lower values lead to better performance but the number of edge crossings might increase. By default set to 20.  
    Public PropertyGets or sets what edge routing is applied. By default set to Orthogonal.  
    Public PropertyDetermines the vertical alignment of the vertices in the layers. By default set to Center.  
    Public PropertyGets or sets the layer spacing. By default set to 40.  
    Public PropertyDetermines the horizontal alignment of the vertices in the layers. By default set to Center.  
    Public PropertyGets or sets the layered graph layout node ranking policy. By default set to Optimal, which tries to minimize edge lengths.  
    Public PropertyDetermines the plug spacing of the edges.  
    Public PropertyGets or sets whether to apply randomness optimization to the layout, which makes the layout nondeterministic (i.e. different runs of the layout result in different output graphs), but almost always results in better positioning of the vertices and less edge crossings. By default set to false.  
    Public PropertyGets or sets the self loop spacing factor. It spaces the self loops as a ratio of the body height. By default set to 0.25.  
    Public PropertyTries to straighten the lines as much as possible in the case of orthogonal edge routing. By default set to false.  
    Public PropertyIf true and the EdgeRouting is orthogonal, all edges will be placed on a single bus between each pair of layers. By default set to false.  
    Public PropertyGets or sets the vertex spacing. By default set to 40.  
    Top
    Public Methods
     NameDescription
    Public MethodDistributes the given items to layers.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Layouts a graph to layers.  
    Protected MethodCreates a crossing reductor that repositions the vertices in the given layers in order to minimize edge crossings. The default implementation fixes the positions of the vertices in the given first layer and repositions the vertices in the given second layer.  
    Protected MethodOverridden. Creates a new edge body.  
    Protected MethodOverridden. Creates a new vertex body.  
    Protected MethodOverridden. Called before the layout of the specified graph  
    Protected MethodFor each pair of adjacent layers fixes the positions of the vertices in the first layer and repositions the vertices in the second one in a way that minimizes the number of edge crossings between the two layers.  
    Protected MethodSets plug spacing to the given incoming edges.  
    Protected MethodSets plug spacing to the given outgoing edges.  
    Top
    See Also