Multigraphs.jl icon indicating copy to clipboard operation
Multigraphs.jl copied to clipboard

A multigraph extension of Graphs.jl

Results 8 Multigraphs.jl issues
Sort by recently updated
recently updated
newest added

`is_directed(::Type{CustomGraph})::Bool` should be defined to be consistent with Graphs.jl https://juliagraphs.org/Graphs.jl/dev/ecosystem/interface/

`add_vertex!` is supposed to return a `Bool` and `add_vertices!` an integer notating the number of vertices that were added. Usually `add_vertices` uses iteratively `add_vertex`, but this package deals with this...

Is there a well-defined way/example of how to solve shortest path for Multigraphs.jl ? Since `weights(mg::Multigraph)` returns a `N x N` matrix, where N is the vertices number, I see...

Many graph implementations support empty constructors. e.g. SimpleGraph, MetaGraph.. Some of my code in NestedGraphs.jl uses this to initialize a graph. Due to this I couldn't construct a NestedGraph{MultiGraph} kind...

an easy, but unneeded, and breaking change. Only reason: the package will be compliant with the julia Graphs.jl ecosystem naming conventions. If the package intends to go v1.0.0 maybe this...

Anyone working on documenting this package? This will be really helpful.

When a `Multigraph` has multiple edges, the incidence matrix should have repeated, identical columns. That is, there should be as many columns as there are edges. ``` julia> using Graphs,...

When adding a single loop to a `Multigraph`, its multiplicity ought to be one, not two: ``` julia> using Graphs, Multigraphs julia> g = Multigraph(4) {4, 0} undirected Int64 multigraph...