Fork of Relation Graph with d3-force
✓ Published0🌍 Public
This example visualizes a small entity-relationship diagram (ERD) of database tables and their columns. Table nodes are drawn as larger circles, column nodes as smaller ones, with links connecting tables to their columns and a join link between matching primary and foreign keys. The graph uses `d3-force` with `forceSimulation`, `forceLink`, `forceManyBody`, and `forceCenter` forces to position nodes, while `draggraph` from d3-force enables user interaction. Node labels are added as SVG text elements, and pan/zoom is implemented via `d3.zoom`. The styling uses the `schemeCategory10` color palette from d3.
AI-generated descriptionEdit of https://vizhub.com/lintonylin/ae9483d1a13142e5808676429ff43da6 to add labels. Example based on an ERD.
MIT Licensed