addNode

open fun addNode(@NonNull node: @NonNull T)(source)

Add a node to the graph.

If the node already exists in the graph then this method is a no-op.

Parameters

node

the node to add