This class can be used to simply wrap another Drawer implementation.

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

Syntax

C#
public class AlignmentDrawer : IDrawer
Visual Basic
Public Class AlignmentDrawer _
	Implements IDrawer

Remarks

This class can be used to simply wrap another Drawer implementation. It will rearrange nodes within each layer so that they are aligned with respect to a given alignment point, that is provided on a per node basis, which is provided by a registered DataProvider instance that may provide doubles that are interpreted as relative coordinates to the center of the node.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout.Hierarchic..::..AlignmentDrawer

See Also