Edge.source

Get source of this edge beginning at node from. For undirected graphs returns the other node of this edge.

  1. Node source(Node from)
    struct Edge
    const
    static if(isDirected)
    Node
    source
    (
    Node from
    )
  2. alias source = target

Throws

MissingNodeException if this edge does not end in node from.

Meta