Heads up - breaking API change in LightGraphs 0.7.x.
sbromberger opened this issue · 1 comments
Sorry if this is not relevant to your use of LightGraphs, but I wanted to make sure you’re aware of a change in the API for the induced_subgraph()
function.
Starting in LightGraphs 0.7.1, induced_subgraph()
will, in addition to the subgraph itself, return a mapping of the original vertex indices to the new ones. This will require code changes to ignore the new return value if you’re using this function.
If you’re using the getindex
version of induced_subgraph
(that is, g[1:5]
), there will be no change.
Feel free to close this out if it’s not applicable to your use of LightGraphs. Thanks!
Thank you @sbromberger! I don't know how I missed this issue for so long. I must have read it on my email and forgot to reply, my apologies. This change doesn't affect my package, thank you for sharing.