GraphNode

Description

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

Derived from

IDeletable

Represents a node in a directed graph.

Public / Methods

From


public method From → (1)

source in : GraphNode<TNode>

[not-null]
The source node.

returns → GraphLink<TNode>

The link.

Returns a link from the given source node to this node, creating a new link if necessary.

From​Null


public method FromNull → (1)

source in : GraphNode<TNode>

[not-null]
The source node.

returns → GraphLink<TNode>

The link or null.

Returns a link from the given source node to this node, if it exists.

To


public method To → (1)

target in : GraphNode<TNode>

[not-null]
The target node.

returns → GraphLink<TNode>

The link.

Returns a link from this node to the given target node, creating a new link if necessary.

To​Null


public method ToNull → (1)

target in : GraphNode<TNode>

[not-null]
The target node.

returns → GraphLink<TNode>

The link or null.

Returns a link from this node to the given target node, if it exists.

Public / Attributes

Incoming


public attribute Incoming → (get)

value : IVectorConst<GraphLink<TNode>>

[not-null]
The list of incoming links.

List of incoming links.

Outgoing


public attribute Outgoing → (get)

value : IVectorConst<GraphLink<TNode>>

[not-null]
The list of outgoing links.

List of outgoing links.

Value


public attribute Value → (get)

value : TNode

The graph node value.

The graph node value.