January 2022: Straight flows; Bigger better downloads

New Feature: Straight Flows

SankeyMATIC has long had the ability to adjust the curvature of flows with a slider labeled Curviness.

However, it has not had the ability to remove all bends from the flows, since that actually requires a different drawing approach. (Straight or flat flows are really parallelograms, and no Bezier curve is going to produce that shape.)

That problem is now solved.

Setting the Curviness slider all the way to the left now produces truly straight flows.

Tiny example Sankey diagram showing flows which curve a little bit
Still a little curved…
Tiny example Sankey diagram showing flows which are completely flat
Totally flat!

New Feature: Extra Large image download format: 6x

For people who want higher-resolution output, there is now a 6x PNG image export option.

  • Tip: Depending on your diagram size and on your device, generating 4x or 6x images may make your experience filled with long pauses.To avoid this, set the export PNG image’s Size to 1x or 2x while you are setting up your diagram so that you can iterate quickly.Wait until you are truly ready to export before choosing 6x.

New SankeyMATIC Logo!

SankeyMATIC logo - a flow diagram in the shape of an S

The new ‘S’ logo will be used:

  • on Twitter (now Mastodon)
  • on GitHub
  • as the little icon for this site in your web browser
  • and so on.

Better filenames for downloaded images

Downloaded PNG image files now have a date/time stamp in the name, like: sankeymatic_20220130_155723_600x400.png.

  • This makes it easy to sort the files by when you created them, which is often handy.
  • This also avoids annoying duplicated filenames – you won’t see “sankeymatic_1200x1200-3.png”, “sankeymatic_1200x1200-4.png”, etc. any more.

Added “Made with SankeyMATIC” tag

When people post their SankeyMATIC diagrams to social media, it’s very common for others to ask: “What did you use to make that?”

I’ve added a Made with SankeyMATIC tag to diagrams by default to help answer the question before people ask it.

For anyone who does not want the “Made with SankeyMATIC” tag, there is a simple nearby checkbox, plainly visible, to remove it.

Other minor changes

  • Various improvements to the SVG code which SankeyMATIC produces – better organized, better labeled, no unnecessary precision, etc.
  • Fixed a bug where unwanted trailing 0s could appear on values when the chosen Number Format used a ‘,’ as the decimal point and ‘Always show full precision’ was unchecked.
  • Updated the JavaScript dependency Canvg to version 3.0.9 (from version 1.3).