DEV Community


Posted on

How to connect two rectangle svgs containing json nodes

I am having a input json as :


And the output json:


So I am trying to do the following using D3.js and I am new to D3.js,

The user will import input JSON and output JSON.

enter image description here

Based on the input and output JSON mapping which is done by linking the corresponding nodes it'll get mapped.

So, the output will be:


I found the one example( but using only javascript not with D3.

Top comments (0)