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

com.yworks.yfiles.layout.organic.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.

Note that com.yworks.yfiles.layout.organic.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 FLEX Developer's Guide (Analysis and Layout Part) section on the organic layout style.



Interfaces
 InterfaceDescription
 InteractiveOrganicLayouter_SingleThreadContext Context object that provides controls of layout calculation in case the layouter runs single-threaded.
Classes
 ClassDescription
 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.
 OrganicPartitionGridLayoutStage Layout stage that is used for handling a given partition grid structure that is attached to a graph with DataProvider com.yworks.yfiles.layout.grid.PartitionGrid.PARTITION_GRID_DPKEY.
 OrganicRemoveOverlapsStage This LayoutStage removes node overlaps considering the specified minimal node distance.
 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.