2022-09-12 17:01:20 +02:00
|
|
|
## How to update the sankey diagram
|
|
|
|
|
2022-09-12 17:43:00 +02:00
|
|
|
![Sankey Generator Screenshot](./sankey_settings.png)
|
|
|
|
|
|
|
|
|
|
|
|
### Generate diagram
|
|
|
|
|
|
|
|
Goto https://sankeymatic.com/
|
|
|
|
|
|
|
|
Enter data:
|
2022-09-12 17:01:20 +02:00
|
|
|
|
|
|
|
Powerline Symbols [7] Nerd Fonts
|
|
|
|
Powerline Extra Symbols [31] Nerd Fonts
|
|
|
|
Font Awesome [679] Nerd Fonts
|
|
|
|
Font Awesome Extension [170] Nerd Fonts
|
|
|
|
Devicons [198] Nerd Fonts
|
|
|
|
Weather Icons [228] Nerd Fonts
|
|
|
|
Seti UI + Custom [59] Nerd Fonts
|
|
|
|
Octicons [172] Nerd Fonts
|
2022-09-13 07:06:41 +02:00
|
|
|
Font Logos [48] Nerd Fonts
|
2022-09-12 17:01:20 +02:00
|
|
|
IEC Power Symbols [5] Nerd Fonts
|
|
|
|
Pomicons [11] Nerd Fonts
|
|
|
|
Material Design [2119] Nerd Fonts
|
|
|
|
Codicons [388] Nerd Fonts
|
|
|
|
:Nerd Fonts #3484bb
|
|
|
|
|
2022-09-12 17:43:00 +02:00
|
|
|
### Steps
|
|
|
|
```
|
2022-09-12 17:01:20 +02:00
|
|
|
Nodes Width 18
|
|
|
|
Nodes Color Categories
|
|
|
|
Flow Curviness 0.7
|
|
|
|
Label Size 14
|
|
|
|
Label Face mono
|
|
|
|
Label Unit Suffix " icons"
|
|
|
|
Diagram Size Width 600
|
|
|
|
Diagram Size Width 660 (adapt if we add more)
|
|
|
|
Deselect 'Include "Made with ..."'
|
|
|
|
|
2022-09-13 07:06:41 +02:00
|
|
|
Export as SVG (exports into a text window)
|
2022-09-12 17:01:20 +02:00
|
|
|
Copy and paste into file
|
|
|
|
|
|
|
|
Open in inkscape
|
|
|
|
|
|
|
|
Ctrl-click on 'Nerd Fonts: x,xxx icons'
|
|
|
|
Change text size (top bar) to 16
|
|
|
|
Ctrl-click on underlying box
|
|
|
|
Rescale to fit
|
|
|
|
|
|
|
|
Rip out old icon sets from old diagram
|
|
|
|
And insert in new
|
|
|
|
Adapt colors if need be:
|
|
|
|
Select icon group
|
|
|
|
Use eyedropper tool and click on colored bar of new diagram
|
|
|
|
|
|
|
|
Save as compressed inkscape svgz
|
2022-09-13 07:06:41 +02:00
|
|
|
Store as bin/scripts/data/sankey/sankey-glyphs-x.x.x.svgz
|
|
|
|
|
|
|
|
Save as optimized svg, select:
|
|
|
|
Remove XML decl
|
|
|
|
Remove metadata
|
|
|
|
Remove comments
|
|
|
|
Embed raster img
|
|
|
|
Untick Format with line-breaks
|
|
|
|
Store as images/sankey-glyphs-combined-diagram.svg
|
|
|
|
Store as assets/img/sankey-glyphs-combined-diagram.svg (in gh-pages)
|
|
|
|
|
|
|
|
Use Export as PNG... with Z_DEFAULT_COMPTESSION
|
|
|
|
Store as assets/img/sankey-glyphs-combined-diagram.png (in gh-pages)
|
2022-09-12 17:43:00 +02:00
|
|
|
```
|