Provides geometric transforms for (sub-)graphs.

Namespace: yWorks.yFiles.Layout.Transformer
Assembly: yWorks.yFilesNET.Algorithms (in yWorks.yFilesNET.Algorithms.dll) Version: 4.1.0.1 (4.1.0.1)

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