igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Extracting sub-graph


From: Tamás Nepusz
Subject: Re: [igraph] Extracting sub-graph
Date: Wed, 12 Oct 2011 15:05:37 +0200

> python interface how do I simply extract a specific sub-graph, for
> example the sub-graph of vertex x?
1. Use Graph.subcomponent() to find out the indices of vertices that are in the 
same component as x.
2. Use Graph.subgraph() to extract this subgraph.

Cheers,
Tamas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]