I’m building off of this example; by that I mean I copied it exactly for my purposes.
My question is this: the graph that I have is representative of a physical structure, and there are over 5000 points. The code works great (takes a second to load, but I don’t really care), but because there are so many, the lines that get generated might travel through other circles, so it can be unclear if a given circle is being called out.
The example you link uses a CustomJS because it is demonstrating how it is possible to do something more sophisticated than changing appearance in response to a hover event (e.g. manipulate other glyphs or data)
Okay, I’ve played around with that example, but it seems like I’m only able to change the color of the circle over which the cursor is hovering; I want to be able to change the color of that circle AND all of the other circles that now have a line segment between them and the hovered-over circle.
The linked example dates from before graph support existed, and is somewhat contrived. If you have graph data, and use real graph renderers, then you can use node and edge interaction polices to control things like this:
I can supply, but it’ll take me a second to sanitize the data. Alternatively, the code from the URL in the original post works; I just adopted that code for my usage, but the actual appearance of the lines is identical.