Skip to content

Commit

Permalink
Update sankey diagram
Browse files Browse the repository at this point in the history
Some icons where added to Seti (number change).
Some numbers numbers where wrong.
Add new Codicons section.

Also add new instructions how to create.

Fixes: ryanoasis#846

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
  • Loading branch information
Finii committed Sep 12, 2022
1 parent a67edd4 commit 6a8dc7d
Show file tree
Hide file tree
Showing 4 changed files with 1,540 additions and 1,668 deletions.
49 changes: 49 additions & 0 deletions bin/scripts/data/sankey/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## How to update the sankey diagram

https://sankeymatic.com/

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
Font Linux [48] Nerd Fonts
IEC Power Symbols [5] Nerd Fonts
Pomicons [11] Nerd Fonts
Material Design [2119] Nerd Fonts
Codicons [388] Nerd Fonts
:Nerd Fonts #3484bb

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 ..."'

Export as SVG
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
Save as optimized svg
Use the later as production file.

Binary file added bin/scripts/data/sankey/sankey-glyphs-2.2.2.svgz
Binary file not shown.
Binary file added bin/scripts/data/sankey/sankey_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6a8dc7d

Please sign in to comment.