tisoap / react-flow-smart-edge

Custom Edge for React Flow that never intersects with other nodes
https://tisoap.github.io/react-flow-smart-edge/
MIT License
242 stars 26 forks source link

Edges rounded down instead of up for SmartStepEdge #60

Closed avinayak closed 1 week ago

avinayak commented 1 week ago

Describe the Bug

For some graphs, straight steps are rounded down instead of up. Is there a way to control this?

Minimal Example

https://codesandbox.io/p/sandbox/sandpack-project-forked-kj7ln6

Steps to Reproduce the Bug or Issue

  1. open the codesandbox link

Expected behavior

The edge marked in the screenshot is supposed to be curving upwards

Screenshots or Videos

Screenshot 2024-06-18 at 1 26 17 PM

Platform

Additional context

No response

tisoap commented 1 week ago

Duplicate of https://github.com/tisoap/react-flow-smart-edge/issues/45