This dispatches here
|
issymmetric(g::AbstractGraph) = !is_directed(g) |
This of course returns false for any digraph, and digraphs can indeed be symmetric.
I don't know how many meanings of symmetric are common in fields using graphs. But wikipedia says this means that for each edge $(v, w)$ there is an edge $(w, v)$.
This dispatches here
Graphs.jl/src/operators.jl
Line 498 in 53cb581
This of course returns false for any digraph, and digraphs can indeed be symmetric.
I don't know how many meanings of$(v, w)$ there is an edge $(w, v)$ .
symmetricare common in fields using graphs. But wikipedia says this means that for each edge