UndirectedGraph.addNode

Inserts node into the node list throwing an exception if already present.

  1. void addNode(Node node)
    struct UndirectedGraph(Node, Weight = void)
    @safe
    void
    addNode
    (
    Node node
    )
  2. void addNode(Node node)

Throws

NodeExistsException if node already present.

Meta