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

Implement remove edge from clustering #71

Merged
merged 2 commits into from
Jul 18, 2019

Conversation

Tyler-Maclachlan
Copy link
Contributor

Fix issue #21

@micahstubbs
Copy link
Member

just tested this out locally at http://localhost:8080/examples/other/clusteringByZoom/

looks good!
Screen Shot 2019-07-18 at 12 33 04 AM

@Tyler-Maclachlan
Copy link
Contributor Author

It's what I've been using on my fork to get around clustering issues 😄

@micahstubbs
Copy link
Member

ok, I logged this issue to research this new scroll-blocking warning we're getting now. #72

It's just a warning, so I think we can take this bug fix now and follow up on the warning later.

@@ -1478,12 +1509,14 @@ class ClusterEngine {
// TODO: check that it works for both edges clustered
// (This might be paranoia)
} else {
delete this._clusterEdges[edgeId]
this._restoreEdge(edge)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the meaningful part of the diff

Copy link
Member

@micahstubbs micahstubbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work, thanks for the contribution!

@micahstubbs micahstubbs merged commit e158049 into visjs-community:master Jul 18, 2019
@micahstubbs
Copy link
Member

@Tyler-Maclachlan published to npm as v4.24.10 📦 🎉
https://www.npmjs.com/package/visjs-network

@mojoaxel
Copy link

💌 Thanks @Tyler-Maclachlan for your contribution!
This pull-request has been merge into visjs/vis-network#30

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

Successfully merging this pull request may close these issues.

3 participants