Nevron .NET Vision
Nevron.Diagram.Layout Namespace / NClassicalTreeLayout Class
Members


In This Topic
    NClassicalTreeLayout Class
    In This Topic
    The NClassicalTreeLayout class represents a directed tree layout, which serves as base class for all classical tree layouts.
    Object Model
    NClassicalTreeLayout Class
    Syntax
    'Declaration
     
    
    <System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
    Public MustInherit Class NClassicalTreeLayout 
       Inherits NDirectedTreeLayout
       Implements Nevron.Diagram.INMeasurements, Nevron.Diagram.INMeasurementUnit, Nevron.Diagram.INResolution, Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NClassicalTreeLayout
    [System.ComponentModel.TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
    public abstract class NClassicalTreeLayout : NDirectedTreeLayout, Nevron.Diagram.INMeasurements, Nevron.Diagram.INMeasurementUnit, Nevron.Diagram.INResolution, Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
    Remarks
    In a classical tree layout, the vertex children are always arranged in a row below their parent, in the respective layout direction.

    Although in different types of classical tree layouts the depth arrangement of the tree vertices can be different, they all share a VertexSpacing property, which controls the minimal distance between vertices in the breadth layout dimension.

    You can specify whether the drawing must be compact in the breadth dimension via the CompactBreadth property. When this property is set to true the layout will analyze each subtree outline and place siblings subtrees with minimal breadth spacing. When this property is set to false the layout will only analyze the subtree bounding box, which increases the layout speed, but also increases the tree drawing area.

    Classical tree layouts admit both orthogonal and straight line tree drawings. If the OrthogonalEdgeRouting property is set to true, the edges will be routed in a bus-like fashion. The bus itself can be aligned relatively to the gap, in which it resides with the help of the BusAlignment property.

    Classical tree layouts use an uniform parent placement, which is applicable for all parent vertices. The parameters of the parent placement strategy are controlled by an instance of the NParentPlacement class, accessible from the ParentPlacement property.

    The PortStyle property specifies the predefined configuration of ports, to which the layout must attempt to glue the edges end-points.

    Inheritance Hierarchy

    System.Object
       Nevron.Dom.NAttribute
          Nevron.Diagram.Layout.NLayout
             Nevron.Diagram.Layout.NGraphPartsLayout
                Nevron.Diagram.Layout.NTreeLayout
                   Nevron.Diagram.Layout.NDirectedTreeLayout
                      Nevron.Diagram.Layout.NClassicalTreeLayout
                         Nevron.Diagram.Layout.NCompactDepthTreeLayout
                         Nevron.Diagram.Layout.NLayeredTreeLayout

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also