Class SugiyamaLayout
The Sugiyama or layered layout implementation.
This algorithm has the following features;
- nodes are placed on layers
- crossings minimization: edge crossings are minimized
- minimum separation: on each layer, neighboring nodes are separated by at least a certain distance
- balance: parents are placed at the barycenter of their children
- proximity: neighboring nodes in the immediately upper layer are placed nearby
For additional material on this algorithm, see:
- Wikipedia; http://en.wikipedia.org/wiki/Layered_graph_drawing
- "Graph drawing and applications" by Kozo Sugiyama, ISBN 981-02-4879-2. Page 29 to 35 gives a description of the algorithm.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class SugiyamaLayout : LayoutBase<SugiyamaData, object>
Constructors
SugiyamaLayout()
Declaration
public SugiyamaLayout()
Methods
Layout(ContainerGraph<SugiyamaData, Object>, Object)
Layout of the specified container without iterating into possible children containers.
Declaration
public override void Layout(ContainerGraph<SugiyamaData, object> containerGraph, object settings)
Parameters
ContainerGraph<SugiyamaData, System.Object>
containerGraph
The container to be organized. |
System.Object
settings
The settings. |
Overrides
Layout(IGraph, Object)
Starts a layout pass.
Declaration
public override void Layout(IGraph diagramControl, object settings)
Parameters
IGraph
diagramControl
The diagram control which needs to be laid out. |
System.Object
settings
The parameterization of the layout. |