Sets the center for the node.

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

Syntax

C#
public virtual void SetCenter( Node node, double x, double y )
Visual Basic
Public Overridable Sub SetCenter ( _ node As Node, _ x As Double, _ y As Double _ )

Parameters

node
Type: yWorks.yFiles.Algorithms..::..Node
x
Type: System..::..Double
y
Type: System..::..Double

Remarks

Sets the center for the node. This method does not affect the graph itself. Instead the internal data structure of the layouter is changed. This method may be used to update node positions due to user interaction (e.g. dragging).

See Also