UndirectedGraph.addEdge

Inserts edge into the graph thrwoing an exception if already present.

struct UndirectedGraph(Node, Weight = void)
@safe
void
addEdge

Throws

EdgeExistsException if edge already present.

Meta