-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R: return vertex names instead of vertex ids #2
Comments
(by gabor.csardi) |
With the repaired But a lot of functions return vertex/edge ids, do we want to change all of them? Here are all of them, unless I forgot some:
|
clu <- components(g)
groups(g, clu) |
One big problem is that when one saves an object to a file, the whole graph is saved, too. So returning |
This is mostly sorted out by now, with weak references. |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
From @gaborcsardi on May 4, 2013 18:54
Or, instead of returning a character vector, we could return an igraph.vs. The same for edges.
igraph.vs is a bit tricky, because we don't necessarily want the (potentially big) graph hanging around just because there is an igraph.vs object hanging around somewhere.
An alternative would be to return character vectors with symbolic vertex ids.
Imported from Launchpad using lp2gh.
Copied from original issue: igraph/igraph#113
The text was updated successfully, but these errors were encountered: