sbromberger / MetaGraphs.jl

I never metagraph I didn't like.
Other
94 stars 24 forks source link

`rem_vertices!` missing #121

Open jlbosse opened 3 years ago

jlbosse commented 3 years ago

With the current version of it is not possible to remove multiple vertices in one go, like it is possible with the rem_vertices!() function of LightGraphs.jl. I have a, probably not terribly efficient, implementation that first calls rem_vertices!(g.graph, vs) and then creates new vprops and eprops containing from the old ones with data on all the vertices left.

If there is demand, I can open a PR with that.