alyssaxuu / flowy

The minimal javascript library to create flowcharts ✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Large flowchart causes misalignment.

Kannndev opened this issue · comments

@alyssaxuu Thanks for the wonderful library.
There is a misalignment issue when we have a large flowchart. Please find the attached file for more reference. Please help us in resolving this.

ezgif com-video-to-gif

This issue is not only happening in the 1st level But anywhere down the line where we have multiple branches splitting up and there is a horizontal scrollbar this seems to happen.

Just fixed it, it was an issue to do w/ the offset applied to the tree on the left (to prevent it from being pushed to the left side of the canvas, since the horizontal scrollbar doesn't expand in that direction), I didn't take the offset into consideration in that situation.

Thanks so much, @alyssaxuu . That was a quick resolve