The major layout algorithms provided by yFiles inherit from abstract class
CanonicMultiStageLayouter
.
This base class provides many useful layout stages, which, e.g., route
self-loops and parallel edges, or arrange non-connected graph components.
Figure 5.9, “The yFiles layout algorithms” shows the yFiles major layout algorithms.
yFiles supports different major layout styles:
Circular layout is described in the section called “Circular Layout”.
Encapsulated in class
CircularLayouter
and class
SingleCycleLayouter
.
Classic hierarchical layout is described in the section called “Hierarchical Layout”, incremental hierarchical layout in the section called “Incremental Hierarchical Layout”.
Encapsulated in classes
HierarchicLayouter
and
HierarchicGroupLayouter
, and
in class
IncrementalHierarchicLayouter
.
Plain organic layout is described in the section called “Organic Layout”, smart organic layout in the section called “Smart Organic Layout”. The description of interactive organic layout can be found in the section called “Interactive Organic Layout”.
Encapsulated in the classes
OrganicLayouter
and
SmartOrganicLayouter
.
Class
InteractiveOrganicLayouter
encapsulates the interactive variant of organic layout.
Plain orthogonal layout is described in the section called “Orthogonal Layout”, the modification thereof that supports hierarchically organized graphs in the section called “Orthogonal Layout of Hierarchically Organized Graphs”. Special support for UML-style layout is provided by the orthogonal layout variant found in the section called “Directed Orthogonal Layout”.
Encapsulated in class
OrthogonalLayouter
and
OrthogonalGroupLayouter
.
Class
DirectedOrthogonalLayouter
encapsulates UML-style orthogonal layout.
Tree layout is described in the section called “Tree Layout”.
Encapsulated in the classes
TreeLayouter
,
BalloonLayouter
,
HVTreeLayouter
, and
ARTreeLayouter
.
Also, class GenericTreeLayouter
encapsulates tree layout, too.
The generic tree layout algorithm is described in
the section called “Generic Tree Layout”.
|
Copyright ©2004-2008, yWorks GmbH. All rights reserved. |