Search this API

Package y.layout.organic

Provides organic layout style algorithms that are based on the force-directed layout paradigm.

See:
          Description

Interface Summary
EllipticalGroupBoundsCalculator.ShapePointProvider Interface that can be used to query the points that lie on the convex hull of the visual shape of the nodes in the graph.
InteractiveOrganicLayouter.SingleThreadContext Context object that provides controls of layout calculation in case the layouter runs single-threaded.
 

Class Summary
EllipticalGroupBoundsCalculator An implementation of a GroupBoundsCalculator that assumes that the group node has an elliptical shape.
EllipticalGroupBoundsCalculator.EllipticalShapePointProvider A simple default implementation of EllipticalGroupBoundsCalculator.ShapePointProvider that assumes elliptical node shapes.
GRIP This class implements a variant of the GRIP algorithm by P Gajer and SG Kobourov: "Graph Drawing with Intelligent Placement".
GroupedShuffleLayouter This class uses a customizable shuffle layout algorithm to recursively remove node overlaps from grouped graph structures.
InteractiveOrganicLayouter The InteractiveOrganicLayouter is a special organic layouter that offers functionality to change the laid out graph while the layouter is running.
OrganicLayouter A graph layout algorithm that is based on a force directed model.
OutputRestriction Implementations of this class can be set via a setOutputRestriction(OutputRestriction) method, e.g.
RemoveOverlapsLayoutStage This LayoutStage removes node overlaps and guarantees a certain minimal node distance.
ShuffleLayouter This layout stage removes node overlaps in a layout graph by using a method which is based on a famous russian arcade game.
SmartOrganicLayouter This class can be used as a convenience class to gain access to a variety of organic layout algorithms.
SplitEdgeLayoutStage This layout stage replaces edges by a path of nodes before it calls a core layouter.
 

Package y.layout.organic Description

Provides organic layout style algorithms that are based on the force-directed layout paradigm.

SmartOrganicLayouter, the main implementation for the organic layout style, supports both complete re-layout of a given diagram as well as incremental layout where only a subset of a diagram should be rearranged.
Also, SmartOrganicLayouter (SOL) supports layout of "flat" as well as grouped graphs, i.e., graphs where nodes are contained within other, so-called group nodes.

InteractiveOrganicLayouter provides support for interactive organic layout.

Note that OrganicLayouter is a legacy layout algorithm for the organic layout style. It is superseded by SOL, which adds features to prevent node (label) overlaps and to keep minimum distances between the nodes.

Related Documentation

See the description in the yFiles for Java Developer's Guide section on the organic layout style.
Interactive organic layout is described in the following section of the Developer's Guide: Interactive Organic Layout.


© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.