How can we show a popup on hover of group, to show a canvas on its child elements?
How to show nodes inside a group in a separate canvas. final Component Group render of its components.
How can we show a popup on hover of group, to show a canvas on its child elements?
How to show nodes inside a group in a separate canvas. final Component Group render of its components.
Implement a mouseHover event handler on your Group. In that you can show whatever you want, including a second Diagram that shows the subgraph that is within that Group. You’ll need to create a separate GraphLinksModel for that.
In some respects that is similar to what the Local View sample does for trees: Local View. But clearly in that sample the “local” tree is in a Diagram that is always being shown, rather than only upon a mouse hover event.
Consider also what to do on touch devices.