-
Notifications
You must be signed in to change notification settings - Fork 43
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
Face Coloring for Cluster Visualization #21
Comments
I'd implement it myself, if you could give me a hint where to start :) |
@pitwegner thanks for reaching out. This is a good idea, but I'd recommend doing this outside of this library to not bloat the functionality. If you're using As for the node objects, you can always access the data itself, and look for the This should give you enough leverage to compute the convex hull of your node clusters and render additional Three objects that represent their geometries. Let me know if you get it to work. 👍 |
@pitwegner very nice! I would like to understand why this occurs, so do let me know if you get to the bottom of it. Also, would you consider contributing a node cluster example to 3d-force-graph? |
That was my first impression as well, but rendering both sides didn‘t change anything related to disappearing nodes. Oh, surely I can open a pull request to include my example :) Then you can also have a look at the occlusion culling :D |
Is your feature request related to a problem? Please describe.
I want to visualize clusters by coloring the space between the nodes that belong to that cluster.
Describe the solution you'd like
I want to provide an array of node arrays that represent the different clusters, potentially but not necessarily overlapping. Then the space inbetween these nodes should be colored using distinct colors (basically color the faces between edges/links between the nodes, the convex hull).
My call would look like that:
with the json in the form of:
Describe alternatives you've considered
Just coloring the nodes is not enough (e.g. for overlapping clusters).
The text was updated successfully, but these errors were encountered: