Skip to main content

NetworkEdge Class

Definition

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

Represents a connection between two nodes.

public class NetworkEdge

Inheritance: object -> NetworkEdge

Constructors

NameDescription
NetworkEdgeNo summary available.

NetworkEdge Constructor

public NetworkEdge()

Properties

NameDescription
SourceGets or sets the ID of the source node.
TargetGets or sets the ID of the target node.
WeightGets or sets the weight/strength of the connection.

Source Property

Gets or sets the ID of the source node.

public string Source { get; set; }

Target Property

Gets or sets the ID of the target node.

public string Target { get; set; }

Weight Property

Gets or sets the weight/strength of the connection.

public double Weight { get; set; }