Skip to main content

NetworkNode Class

Definition​

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Represents a node in the network graph.

public class NetworkNode

Inheritance: object -> NetworkNode

Constructors​

NameDescription
NetworkNodeNo summary available.

NetworkNode Constructor​

public NetworkNode()

Properties​

NameDescription
IdGets or sets the unique identifier of the node.
LabelGets or sets the display label of the node.
VelocityXGets or sets the X-velocity for force simulation.
VelocityYGets or sets the Y-velocity for force simulation.
XGets or sets the X-coordinate of the node.
YGets or sets the Y-coordinate of the node.

Id Property​

Gets or sets the unique identifier of the node.

public string Id { get; set; }

Label Property​

Gets or sets the display label of the node.

public string Label { get; set; }

VelocityX Property​

Gets or sets the X-velocity for force simulation.

public double VelocityX { get; set; }

VelocityY Property​

Gets or sets the Y-velocity for force simulation.

public double VelocityY { get; set; }

X Property​

Gets or sets the X-coordinate of the node.

public double X { get; set; }

Y Property​

Gets or sets the Y-coordinate of the node.

public double Y { get; set; }