holtzy / D3-graph-gallery

A collection of simple graphics made with D3.js
https://www.d3-graph-gallery.com
MIT License
789 stars 237 forks source link

Network graph with packed hierarchy #95

Closed noyoliel-devocean closed 1 year ago

noyoliel-devocean commented 1 year ago

I was looking at this link about network graphs as well as on the example for circle packing in the gallery. I'm looking for a way to combine them in order to achieve a graph that has links from one perspective, yet has packing on the other hand.

How can this be done? I couldn't find examples for it online. Only discussions that did not show proper solutions that can handle automatic positioning such as in force simulation, yet maintain the links and the packing

In my specific scenario I also have zooming functionality

Can an example be added / provided?

noyoliel-devocean commented 1 year ago

Found examples here:

https://observablehq.com/@dianaow/force-directed-graph-with-circle-packing/2/forks