igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] ids in function igraph_neighborhood_graphs


From: Tamas Nepusz
Subject: Re: [igraph] ids in function igraph_neighborhood_graphs
Date: Fri, 18 Sep 2015 10:37:59 +0200

> Guys, could anyone tell me whether the nodes id are preserved
> when I use the function igraph_neighborhood_graphs.
No.

> can I determine what is the new id of the node that I used as seed
> for this function. I basically have to delete this node form the final
> neighborhood graph.
I think you'll have to use vertex attributes. Mark the seed vertex
with a vertex attribute with a specific value, then look for the same
value among the vertex attributes of the neighborhood graph.

T.



reply via email to

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