VHRanger / CSRGraph

A tiny library for large graphs
MIT License
111 stars 17 forks source link

NetworkX MultiGraph #15

Closed shash42 closed 3 years ago

shash42 commented 3 years ago

CSRGraph seems to be applicable to only networkx Graph and Digraph classes. Is there a way to make MultiGraphs work?

VHRanger commented 3 years ago

I don't think there's anything technically forbidding it if it's just self-loops and parallel edges to multigraphs.

I'd encourage you to try it, and log an issue if you run into technical issues.

I've been lagging on development for this package but it's going to be used in projects of mine this month and this fall, so it will see more development, especially on the graph side.

shash42 commented 3 years ago

Right. It does seem to work alright, I just thought I'd make sure considering the csrgraph() call checks only if it's an instance of Graph and DiGraph explicitly, and not MultiGraph

VHRanger commented 3 years ago

Thanks, keep using it and please raise an issue if you run into something