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

Arrowheads in a directed graph with smooth curves don't point to the center of their node

Open hbelen opened this issue 3 years ago • 0 comments

Describe the bug Arrowheads in a directed graph with smooth curves don't point to the center of the node they point to.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://danielcaldas.github.io/react-d3-graph/sandbox/index.html
  2. Check the directed checkbox
  3. Select the CURVE_SMOOTH link.type
  4. See error

Expected behavior Arrowheads point to the center of the node they point to.

Screenshots image

Environment:

  • OS: macOS
  • Browser: chrome
  • Version: 96.0.4664.55
  • Node version: whichever the playground currently uses
  • react-d3-graph version: 2.6.0
  • d3 version: whichever the playground currently uses
  • react version: whichever the playground currently uses

hbelen avatar Dec 05 '21 10:12 hbelen