Skip to content

How to use the get_path() method when working with disconnected subgraphs in a network #29

Answered by jcmgray
benjaminlanthier asked this question in Q&A
Discussion options

You must be logged in to vote

I've added this and some related functionality here: 6b5c173 and 85f15ce. Now by default it will autocomplete e.g. disconnected subgraphs but issue a warning that the path was incomplete. If instead you explicitly call .from_path(..., autocomplete=True) (as in path_igraph.py) it will do it without complaining.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jcmgray
Comment options

Answer selected by benjaminlanthier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants