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

Filter any orphan edges #11

Closed
codementum opened this issue Aug 6, 2013 · 1 comment
Closed

Filter any orphan edges #11

codementum opened this issue Aug 6, 2013 · 1 comment

Comments

@codementum
Copy link
Contributor

d3.force fails if you feed it an edge with no corresponding vertex.

This happens in the tool if you remove a vertex but don't remove any corresponding edges.

To fix this, any orphan edges must be filtered. Additionally, the user should be notified of such edges in some way. Here are some possible ways of handling the user side:

  • highlighting the lines in the textarea
  • displaying a list of _ids that a user can search for (easiest!)
@codementum
Copy link
Contributor Author

Fixed in 85a4b8c. Except for the UI component (making a new issue for that): #13

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