GraphLink

Description

sealed class Tinman.Core.Collections.GraphLink<TNode ref>

Derived from

IDeletable

Represents a link between two nodes in a directed graph.

Public / Attributes

Source


public attribute Source → (get)

value : GraphNode<TNode>

[not-null]
The source node.

The source node of this link.

Target


public attribute Target → (get)

value : GraphNode<TNode>

[not-null]
The target node.

The target node of this link.

Weight


public attribute Weight → (get,set)

value : float64

[>0]
The link weight.

The link weight.

The default value is 1.