By chance, I saw an article about “drawing resource topology map using D3.js forcing-guided layout” by @dasocar Wireless Development Center on digging gold. I remembered that I had done similar relationship topology map when I was an intern, so I dared to put it on digging gold. Making the address

Complete the function

  • 1. Center the container
  • 2. Node mouse origin and overall zoom
  • 3. Whole drag and node drag
  • 4. The node text is folded
  • 5. Relationship description and arrow pointing
  • 6. Avoid overlapping between nodes