Provides geometric transforms for (sub-)graphs.

Namespace: yWorks.yFiles.Layout.Transformer
Assembly: yWorks.yFilesWPF.Algorithms (in yWorks.yFilesWPF.Algorithms.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
public class GraphTransformer : CanonicMultiStageLayouter, 
	ILayoutStage, ILayouter
Visual Basic
Public Class GraphTransformer _
	Inherits CanonicMultiStageLayouter _
	Implements ILayoutStage, ILayouter

Remarks

Provides geometric transforms for (sub-)graphs. This module provides the following kinds of geometric transforms on graphs or subgraphs.
  • Mirroring along X-axis
  • Mirroring along Y-axis
  • Rotation by angle
  • Scaling by factor. (Node size scaling optional)
  • Translating

Here is an sample output of the layouter that rotated the inner nine nodes of the grid by 45 degrees.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout..::..CanonicMultiStageLayouter
    yWorks.yFiles.Layout.Transformer..::..GraphTransformer

See Also