Hi, I am sorry, I think there is no difficulty. It is just that I did not
get how to get the id once you have the node index :
from graph_tool.all import *
g=load_graph('nodeNetwork.graphml')
l=label_largest_component(g)
u=list(l.a)
So from u, I get the indices (for the 0 entries). I would like to know what
are the id's of the graph_tool vertices in my original nodeNetwork.graphml.
Thanks for the great work by the way!
F.
On 24 May 2014 11:06, Tiago de Paula Peixoto <[email protected]> wrote:
> On 05/24/2014 04:50 PM, Flavien Lambert wrote:
> > Hi! Thanks for the answer! I managed to retrieve the nodes easily but
> > my main concern is to get the property id in fact...
>
> I don't fully understand what the difficulty is. Could you perhaps be
> more specific, preferably with a short example?
>
> Best,
> Tiago
>
> --
> Tiago de Paula Peixoto <[email protected]>
>
>
> _______________________________________________
> graph-tool mailing list
> [email protected]
> http://lists.skewed.de/mailman/listinfo/graph-tool
>
>
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool