krispo / ng2-nvd3

Angular2 component for nvd3
http://krispo.github.io/ng2-nvd3/
MIT License
328 stars 104 forks source link

link distance between 2 node #156

Open Jigar3195 opened 6 years ago

Jigar3195 commented 6 years ago

how to add set distance between 2 nodes? the distance between 2 nodes should be different each link has its own distance like this

links: [
    {source:  0, target:  1, distance: 20 },
    {source:  0, target:  2, distance: 40},
    {source:  0, target:  3, distance: 80}
  ]

how to access distance property?