Node Type

Constructors

Constructor Description

Node()

Full Usage: Node()

Returns: Node
Returns: Node

Static members

Static member Description

Node.addNode graph node

Full Usage: Node.addNode graph node

Parameters:
    graph : UndirectedGraph<'NodeKey, 'EdgeData> - The graph the node will be added to.
    node : 'NodeKey - The node to be created. The type must match the node type of the graph.

Returns: UndirectedGraph<'NodeKey, 'EdgeData> Unit

Adds a new node to the graph

graph : UndirectedGraph<'NodeKey, 'EdgeData>

The graph the node will be added to.

node : 'NodeKey

The node to be created. The type must match the node type of the graph.

Returns: UndirectedGraph<'NodeKey, 'EdgeData>

Unit

Node.removeNode graph node

Full Usage: Node.removeNode graph node

Parameters:
    graph : UndirectedGraph<'NodeKey, 'EdgeData> - The graph the edge will be removed from.
    node : 'NodeKey - The node to be removed.

Returns: UndirectedGraph<'NodeKey, 'EdgeData> Unit

Removes a node from the graph

graph : UndirectedGraph<'NodeKey, 'EdgeData>

The graph the edge will be removed from.

node : 'NodeKey

The node to be removed.

Returns: UndirectedGraph<'NodeKey, 'EdgeData>

Unit