Skip to content
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

decide whether a better way to represent graph vertices is necessary #394

Open
ebridge2 opened this issue Jul 23, 2017 · 0 comments
Open

Comments

@ebridge2
Copy link
Contributor

ebridge2 commented Jul 23, 2017

Right now, vertices are mapped to a standard 0 -> maxid coordinate system, and vertices are created for every index. this means that if you pass a graph with vertices from 1000 to 1100, you will produce a 1100 vertex graph. This seems awkward to me, and is especially awkward since if, say, you were to extract the subgraph of the vertices you actually want (here, I want 1000 to 1100), when I call fg.fetch.subgraph, it remaps my original 1000 to 1100 vertices to 0 to 100 instead. This means that I then cannot obtain vertices based on their true indices, and will need to in my program account for remapping the coordinate systems, which seems too complicated to expect regular users to do.

@ebridge2 ebridge2 changed the title documentation for how to get vertex IDs from graphs decide whether a better way to represent graph vertices is necessary Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant