|
Search this API | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
ClearAreaLayouter | This layout algorithm clears a specified area by moving intersecting elements, while trying to minimize the changes in the given layout. |
FillAreaLayouter | This layout algorithm tries to fill a specified area with graph elements by moving nearby elements towards it, with the goal to make the existing layout more compact and not changing it too much. |
PartialLayouter | This class represents a partial layout algorithm which changes the coordinates for a given set of graph elements (called partial elements) only. |
PartialLayouter.StraightLineEdgeRouter | Deprecated. Use class StraightLineEdgeRouter instead. |
Provides several algorithms that that enable to modify the layout of user-specified, distinct parts of a diagram without altering the existing layout of the remainder of the diagram.
The following layout algorithms are offered:
PartialLayouter
: this algorithm changes the coordinates for a given set of graph
elements (called partial elements) while preserving the location and size of the remaining elements
(called fixed elements). Hence, it is suitable for applications where users may incrementally add new
elements to an existing drawing.
ClearAreaLayouter
: this algorithm clears a specific area in an existing layout
by moving graph elements that intersect the area. It is suitable if in a certain region space must
be created, for example, when inserting new elements or increasing the size of existing ones.
FillAreaLayouter
: this algorithm fills a specific free area with graph elements.
It is suitable when there are free spaces that could be used so that the overall layout becomes more compact.
PartialLayouter
.
ClearAreaLayouter
can be applied to clear a specific area.
FillAreaLayouter
can be applied to fill a specific
area with elements, thus, compacting an existing layout.
See the yFiles Developer's Guide section on Partial Layout.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |