Skip navigation links

Package com.yworks.yfiles.layout.organic

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

See: Description

Package com.yworks.yfiles.layout.organic Description

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

Organic layouts distribute nodes in a natural way and are well suited to exhibit clusters and symmetric properties of a graph.

OrganicLayout, 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, OrganicLayout supports layout of "flat" as well as grouped graphs, i.e., graphs where nodes are contained within other so-called group nodes.

InteractiveOrganicLayout provides support for interactive layouts, enabling live interactions with an adapting organic graph layout.

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

Example Graphs

Organic layout

Organic layout of a mesh-like graph structure

Organic layout containing group nodes

Related Documentation

See the description in the yFiles 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.

Skip navigation links
© Copyright 2000-2017,
yWorks GmbH.
All rights reserved.