Closed junxnone closed 1 year ago
Hi @junxnone if I understand your intention correctly, this is a variation of the existing expandable nodes example, but in which when collapsed the nodes are not removed from the environment but simply hidden from the user. Is that correct?
Tbh, I find that example a little confusing because even though you can't see the nodes they are still having a force effect on the other nodes, leading to a bit of an unpredictable behavior. Could you expand on why do you prefer this behavior over the existing example?
Hi @junxnone if I understand your intention correctly, this is a variation of the existing expandable nodes example, but in which when collapsed the nodes are not removed from the environment but simply hidden from the user. Is that correct?
Yes
Tbh, I find that example a little confusing because even though you can't see the nodes they are still having a force effect on the other nodes, leading to a bit of an unpredictable behavior. Could you expand on why do you prefer this behavior over the existing example?
I'm new to js and 3d-force-graph. I try to compose some example to build my KG :
add the node search feature
It's hard to manage the graphData for me. The Original expand example try to remove the nodes and links, and I need the original graphData to be keep. So I found the nodes/links visible feature in some issues, and implement this example.
Thanks for this awesome project!
Ok, great work on the visuals of that link you shared. Looks great!
As for this PR, it doesn't seem like the example is distinct enough from others to be really useful for a broader audience, so I'll close it. But it can always be reference back here if someone needs, even though it's closed.