projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.51k stars 1.17k forks source link

Support for grouping of nodes #586

Open villelaitila opened 4 years ago

villelaitila commented 4 years ago

Node graphs are usually flat. However for structures like code files and directories it makes sense to represent the aggregation relationship as a node hierarchy and leave the edges for representing the associations between the leaf nodes (such as code files). Similarly one can model social graphs (where people belong to organizations etc.) This would be an interesting development direction of react-diagrams, since all the current examples represent flat diagrams.

As a reference of this thought: use search engine to look for pictures with following keywords: grouping support for node graphs

renato-bohler commented 4 years ago

Duplicate of #27 (and #329). Seems like a useful but tricky one hehe