terrastruct / TALA

A diagram layout engine designed specifically for software architecture diagrams
https://terrastruct.com/tala
Other
194 stars 4 forks source link

rearrange edges to prefer sorting by appearance #78

Closed alixander closed 4 months ago

alixander commented 4 months ago

Screenshot 2024-04-28 at 5 35 50 PM

I've defined the edges in one order, but when rendered, we tend to read top-bottom (if the two nodes are horizontal arrange), and left-right (if vertical arrange), so the edges should arrange themselves in that order