Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Ability to group nodes visually and programmatically #49

Answered by setzer22
Stygmates asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not entirely sure what you mean by grouping nodes. Is it something like a sub-graph, where a node in the parent graph is made out of nodes in some inner child graph? In that case, that is something I'm planning to do eventually in my main project, but there is nothing in this library to support it yet.

That being said, the philosophy behind this library is doing one thing well, and that is drawing a single interactive graph and let you manipulate nodes and connections. A "grouping" action can be implemented on top of this library with minimal modifications. You'd need to detect the action somehow (this may require a small addition, to allow selecting multiple nodes), and then replace …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Stygmates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants