Skip navigation links

Package com.yworks.yfiles.layout.seriesparallel

Provides the series-parallel layout algorithm.

See: Description

Package com.yworks.yfiles.layout.seriesparallel Description

Provides the series-parallel layout algorithm.

It can be applied to series-parallel graphs and produces similar results as the hierarchical layout style but without considering global layers.

Series-parallel graphs are directed graphs with a single source (node without incoming edges) and a single sink (node without outgoing edges) that are built using only the following two rules:

  1. Series composition: The source of a subgraph is merged with the sink of a second subgraph.
  2. Parallel composition: The sources and sinks of two subgraphs are merged.

The layout algorithm is contained in SeriesParallelLayout.

Example graphs

Series-parallel graph

Grouped series-parallel graph

Related Documentation

See the yFiles Developer's Guide section on Series-parallel Layout Style for a description of the series-parallel layout algorithm.

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