nowthis / sankeymatic

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

Node labels can be confusing #40

Closed DavidAyliffe closed 3 years ago

DavidAyliffe commented 6 years ago

Node labels seem to be left aligned when nodes are left of centre in the diagram and right aligned when the notes are right of centre.

This causes some problems with understanding the nodes.

Can they be always at the left/right or maybe make this configurable.

Thanks

sankeymatic_1200x1200 2

Mitalee commented 5 years ago

same problem here - in my case, it seems to occur the moment i put in a third level image

Is there a way to configure this?

nowthis commented 3 years ago

Good news folks, there's a feature just added to the website which lets you set the Position for Labels to be all-on-the-left or all-on-the-right (or keep the current automatic-placement behavior).

One wrinkle is that currently you'll have to manually change your left or right Margin to make sufficient room for the relocated Labels to fully appear in the diagram's canvas. Auto-adjusting the layout is a feature for another day.

I'll be pushing the code up here someday soon, but the feature is live now at http://sankeymatic.com/build/