nowthis / sankeymatic

Make Beautiful Flow Diagrams
http://sankeymatic.com/build/
ISC License
841 stars 122 forks source link

Add support for basic label positioning #50

Closed nowthis closed 2 years ago

nowthis commented 2 years ago

Currently labels are always placed using an 'inner' orientation:

This can lead to confusing label placement, including unwanted overlaps.

Give the user the ability to say all labels should be on the left (or on the right) regardless of which node column they are for.

In either of those cases, the Margins will have to be manually updated to fit whatever labels are appearing. (Auto-adjusting the margins for the specific labels in the diagram may come later, but not in this first version.)