You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making an interactive scene out of the graph. On node click, I focus on the node and display only its connections to surrounding nodes along with some color changes. If I replace the links completely, the graph structure/physics take over and warp the graph. I figure I have to hide the other connections to maintain the graph structure. The options on the readme are set across the graph, so I need to chose which specific links to hide, whether it be calling object.visible = false on the 3js object, or setting its opacity to 0. Since the 3js scene is created from the graph function, I assume I have to target lines directly in 3js somehow unless there is an easier way.
The text was updated successfully, but these errors were encountered:
@freitaga you can just use the method linkVisibility. This will only affect the visuals and not the internal physics engine. You can use it, for example onClick events like:
I'm making an interactive scene out of the graph. On node click, I focus on the node and display only its connections to surrounding nodes along with some color changes. If I replace the links completely, the graph structure/physics take over and warp the graph. I figure I have to hide the other connections to maintain the graph structure. The options on the readme are set across the graph, so I need to chose which specific links to hide, whether it be calling object.visible = false on the 3js object, or setting its opacity to 0. Since the 3js scene is created from the graph function, I assume I have to target lines directly in 3js somehow unless there is an easier way.
The text was updated successfully, but these errors were encountered: