GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoNode Class / Location Property
In This Topic
    Location Property (GoNode)
    In This Topic
    Assume the natural location of a node is the center of the GoObject.SelectionObject, if it is different from the whole group itself.
    Syntax
    public override PointF Location {get; set;}
    Remarks
    If there is no separate GoObject.SelectionObject, then the Location is the same as the Position. Setting the location would naturally be implemented as this.SelectionObject.Center = value but for efficiency, it instead is implemented by setting this node's Position so that the GoObject.SelectionObject's Center is at the new location.
    See Also