react-force-graph icon indicating copy to clipboard operation
react-force-graph copied to clipboard

Multiple links between two nodes to visualize different relationships and name links

Open manuelfink opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Is it possible to draw two links between two nodes?

Describe the solution you'd like

I have two nodes which have different relationships towards each other. Eg we have two companies. both can be customers to each other.

  • company A --> is customer to --> company B
  • company B --> own --> company A
  • company C --> is customer to --> company A

Describe alternatives you've considered

  • Could not find any solution in documentation of react-force-graph as of today. Maybe missed to know the correct search terms for this.
  • d3 should support this eg: http://bl.ocks.org/thomasdobber/9b78824119136778052f64a967c070e0

Additional context

multi-link-relationships

manuelfink avatar Jan 18 '21 10:01 manuelfink

@manuelfink look in the curved and self links example.

vasturiano avatar Jan 22 '21 00:01 vasturiano

As I can see it's only for 3D visualization. How can we achieve same thing in a 2D graph?

adminha avatar Jul 24 '23 11:07 adminha