From 12ac6ba5982924c49da13aaca8cb78e4a9df053b Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Thu, 20 Feb 2025 17:08:41 -0500 Subject: [PATCH] minor addition to `edges` docstring (#417) --- src/interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.jl b/src/interface.jl index 280efcb2..4ff21a0a 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).