nowthis / sankeymatic

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

Flow colour gradients #33

Open charleyglynn opened 6 years ago

charleyglynn commented 6 years ago

Enable colour gradients from a flows source node to the target node like this example.

waldyrious commented 1 year ago

Copying the image here just in case the original dies (and also for convenience):

Green-Gatorade-Gottle commented 1 year ago

NOTE: This comment was pasted HERE but it seems more relevant here, so I'm posting it here too. Admin: Please delete one or the other as needed.

Is it possible to have a gradient set for the flow as an option next to the target and source?

I see above that there is an issue of whether the color is the source or the target, but a gradient would solve that issue entirely—because you'd have both, so it doesn't matter. I imagine this might be complicated on the back end, but I think it would be very beautiful and intuitive for users to have this feature. Here is an example I made in PS to illustrate my point.

From an understanding POV, this view helps us understand that money from one source turns into money from another source. Meaning, at no point is it really the source OR the target—it's both and that changes depending on the perspective.

sankeymatic_20230124_174527_2400x2400(1)