networkx / nx-parallel

A networkx backend that uses joblib to run graph algorithms in parallel.
BSD 3-Clause "New" or "Revised" License
23 stars 20 forks source link

updated `ParallelGraph` class #41

Closed Schefflera-Arboricola closed 7 months ago

Schefflera-Arboricola commented 7 months ago

these are needed in PR https://github.com/networkx/nx-parallel/pull/37 , https://github.com/networkx/nx-parallel/pull/34 and https://github.com/networkx/nx-parallel/pull/33 , so it's better to have them in a separate PR than in all of them.

dschult commented 7 months ago

Are these needed for the ParallelGraph? We can use the underlying G.graph_object right? But maybe I am missing a way in which the backend machinery needs to know e.g. the number of nodes.