vasturiano / 3d-force-graph

3D force-directed graph component using ThreeJS/WebGL
https://vasturiano.github.io/3d-force-graph/example/large-graph/
MIT License
4.77k stars 832 forks source link

sub graph layout #272

Open cmdares opened 4 years ago

cmdares commented 4 years ago

Can sub graph layout be supported? For example, on the basis of the existing graph layout, click a node to expand the relationship. After the data is returned, the location of the existing node remains unchanged, and the new node is placed to do layout. thanks.

Sent with GitHawk

vasturiano commented 4 years ago

@cmdares there is a "click-to-expand" example that shares some similarities with what you're describing and could potentially be adjusted to behave in that way: https://vasturiano.github.io/3d-force-graph/example/expandable-nodes/

JonThom commented 4 years ago

@cmdares please close the issue if solved, thanks!