Closed jsagerOffis closed 3 weeks ago
Mango.Topology should forward Graph.jl access functions for easier use.
using Mango x = complete_topology(5) nv(x) > 5
This would save many calls to x.graph and should be very easy to implement. Reference list of access functions for Graph.jl:
x.graph
https://juliagraphs.org/Graphs.jl/dev/first_steps/access/
For reference:
Graphs.dst Graphs.edges Graphs.edgetype Graphs.has_edge Graphs.has_vertex Graphs.inneighbors Graphs.is_directed Graphs.ne Graphs.nv Graphs.outneighbors Graphs.src Graphs.vertices
Mango.Topology should forward Graph.jl access functions for easier use.
Example desired behavior:
This would save many calls to
x.graph
and should be very easy to implement. Reference list of access functions for Graph.jl:https://juliagraphs.org/Graphs.jl/dev/first_steps/access/