BasicGraph.hasEdge

Check if an edge exists in the graph.

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

Return Value

Type: bool

true if the edge exists in the graph.

Meta