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

Change ID numbering logic #8

Open
jbon opened this issue Jul 13, 2018 · 0 comments
Open

Change ID numbering logic #8

jbon opened this issue Jul 13, 2018 · 0 comments

Comments

@jbon
Copy link
Owner

jbon commented Jul 13, 2018

Proper loading of this data requires nodes ids being ordered like natural numbers [0,1,2,...]. That is, ids are integers and start at 0. It is the same for the edges id. When a node or an edge is deleted in the application, all ids are changed automatically and are done in the deleteNode() and deleteEdge() functions.

this is suboptimal as it requires lots of processing and makes the application vulnerable to processing errors.

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