Name | Description | |
---|---|---|
NLayeredGraphLayout Constructor | Default constructor. |
The following tables list the members exposed by NLayeredGraphLayout.
Name | Description | |
---|---|---|
NLayeredGraphLayout Constructor | Default constructor. |
Name | Description | |
---|---|---|
BusMarginProperty | Reference to the BusMargin property. | |
CompactProperty | Reference to the Compact property | |
CrossingReductionForgivnessNumberProperty | Reference to the CrossingReductionForgivnessNumber property. | |
EdgeRoutingProperty | Reference to the EdgeRouting property | |
LayerAlignmentProperty | Reference to the VertexSpacing property | |
LayerSpacingProperty | Reference to the LayerSpacing property | |
NLayeredGraphLayoutSchema | Schema associated with the layout. | |
NodeAlignmentProperty | Reference to the NodeAlignment property | |
NodeRankProperty | Reference to the NodeRank property | |
PlugSpacingProperty | Referense to the PlugSpacing property. | |
RandomnessOptimizationProperty | Reference to the RandomnessOptimization property. | |
SelfLoopSpacingFactorProperty | Reference to the SelfLoopSpacingFactor property | |
StraightenLinesProperty | Reference to the StraightenLinesProperty | |
UseSingleBusProperty | Reference to the UseSingleBus property | |
VertexSpacingProperty | Reference to the VertexSpacing property |
Name | Description | |
---|---|---|
BusMargin | Gets 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. | |
Compact | Determines 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. | |
CrossingReductionForgivnessNumber | Defines 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. | |
EdgeRouting | Gets or sets what edge routing is applied. By default set to Orthogonal. | |
LayerAlignment | Determines the vertical alignment of the vertices in the layers. By default set to Center. | |
LayerSpacing | Gets or sets the layer spacing. By default set to 40. | |
NodeAlignment | Determines the horizontal alignment of the vertices in the layers. By default set to Center. | |
NodeRank | Gets or sets the layered graph layout node ranking policy. By default set to Optimal, which tries to minimize edge lengths. | |
PlugSpacing | Determines the plug spacing of the edges. | |
RandomnessOptimization | Gets 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. | |
SelfLoopSpacingFactor | Gets 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. | |
StraightenLines | Tries to straighten the lines as much as possible in the case of orthogonal edge routing. By default set to false. | |
UseSingleBus | If 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. | |
VertexSpacing | Gets or sets the vertex spacing. By default set to 40. |
Name | Description | |
---|---|---|
DistributeToLayers | Distributes the given items to layers. |
Name | Description | |
---|---|---|
ArrangeGraph | Overridden. Layouts a graph to layers. | |
CreateCrossingReductor | Creates 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. | |
CreateEdgeBody | Overridden. Creates a new edge body. | |
CreateVertexBody | Overridden. Creates a new vertex body. | |
OnArrangingGraph | Overridden. Called before the layout of the specified graph | |
ReduceEdgeCrossings | For 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. | |
SetPlugSpacingToInEdges | Sets plug spacing to the given incoming edges. | |
SetPlugSpacingToOutEdges | Sets plug spacing to the given outgoing edges. |