BasicGraph.hasEdge

Check if an edge exists in the graph.

  1. bool hasEdge(Vertex left, Vertex right)
  2. bool hasEdge(Vertex left, Vertex right)
  3. bool hasEdge(Vertex left, Vertex right)
    struct BasicGraph(Vertex, EdgeDirection edgeDirection)
    @nogc @safe pure nothrow const
    bool
    hasEdge
    (
    Vertex left
    ,
    ref Vertex right
    )
  4. bool hasEdge(Vertex left, Vertex right)

Return Value

Type: bool

true if the edge exists in the graph.

Meta