diff --git a/src/interface.jl b/src/interface.jl index 280efcb22..4ff21a0a6 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -183,7 +183,7 @@ vertices(g::AbstractGraph) = _NI("vertices") edges(g) Return (an iterator to or collection of) the edges of a graph. -For `AbstractSimpleGraph`s it returns a `SimpleEdgeIter`. +For `AbstractSimpleGraph`s it returns a `SimpleEdgeIter` (lexicographical order). The expressions `e in edges(g)` and `e ∈ edges(g)` evaluate as calls to [`has_edge`](@ref).