A layout stage for hierarchically grouped graphs.

Namespace: yWorks.yFiles.Layout.Grouping
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public class FixedGroupLayoutStage : AbstractLayoutStage
Visual Basic
Public Class FixedGroupLayoutStage _ Inherits AbstractLayoutStage

Remarks

A layout stage for hierarchically grouped graphs. Activating this stage guarantees that a core layouter will keep the relative positions of nodes within the same group. Also, this stage is responsible for routing edges that connect nodes belonging to hierarchically unrelated groups.

More precisely, the stage temporarily replaces fixed group nodes (see FixedGroupNodesDpKey ) with normal nodes of the same size while the groups' content is removed from the graph during layout. The nodes are used as placeholders and to keep the relations to the remaining graph elements. Edges that connect from outside the group node to its content (inter-edges) are redirected such that they connect to the node that replaces the group. After layout, the group nodes are restored and the stage inserts the content at the new group position (derived from the position of the associated node). The content itself (including the edges between content nodes) remains unchanged and is only relocated. Furthermore, the inter-edges are connected to their original source/target and the stage reroutes them using the specified inter-edge routing algorithm (see OrthogonalEdgeRouter ).

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout..::..AbstractLayoutStage
    yWorks.yFiles.Layout.Grouping..::..FixedGroupLayoutStage

See Also