adding a functionality to a d3 directed graph app

Job ID: 36820652

Budget: $10 – $30 USD

I want to add a functionality to a d3 directed graph to add new nodes without recreating the whole graph from scratch.

A new node is added when a user clicks on a certain node in the graph.

When a new node is added, it's connected to the other existing nodes.

When dragging an existing or a new node, it would effect the whole nodes in the graph as usual.

The edges between each node would reach the edge of a node in the middle.

The d3 version that I'm working on is 5.16.0.

What I need is just a simple project or even just one *.ts file that contains the d3 graph with that functionality.
Related categories: JavaScript D3.js