I am currently working on a nodelink map visualization with deck.gl and supercluster for which I need the underlying node ids in the cluster. I want to do this by adding an ids array to each cluster. Next I am attaching edges to nodes based on these ids. However, certain node id's are in more than one cluster preventing me from finding the correct clusters to attach edges to. Any ideas on how to fix this such that a node can only be in a single cluster? The current implementation looks like this:
I am currently working on a nodelink map visualization with deck.gl and supercluster for which I need the underlying node ids in the cluster. I want to do this by adding an ids array to each cluster. Next I am attaching edges to nodes based on these ids. However, certain node id's are in more than one cluster preventing me from finding the correct clusters to attach edges to. Any ideas on how to fix this such that a node can only be in a single cluster? The current implementation looks like this: