Graph.put

Adds an edge. Both vertices must be added to the graph first.

  1. void put(Vertex v)
  2. void put(A from, B to, EdgeDataAB data)
    class Graph(A, B, EdgeDataAB = size_t, EdgeDataBA = size_t)
    void
    put
    (,
    B to
    ,
    EdgeDataAB data = EdgeDataAB.init
    )
    if (
    !is(A == B)
    )
  3. void put(B from, A to, EdgeDataBA data)

Meta