Skip to content

diagrams.net shape libraries with AWS Architecture Icons

Notifications You must be signed in to change notification settings

m-radzikowski/diagrams-aws-icons

Repository files navigation

diagrams.net AWS Architecture Icons

What is it?

Shapes library with AWS Architecture Icons for diagrams.net (formerly draw.io) application.

Load it into diagrams.net in one of the following ways:

  • easiest: click here to add the library to diagrams.net (may take few seconds to load)
  • manual with link (for example to diagrams.net on Atlassian Confluence): select File → Open Library from → URL and put https://raw.githubusercontent.com/m-radzikowski/diagrams-aws-icons/master/20240206/AWS Architecture Icons 20240206.xml
  • manual with file: download particular .xml file and open it in application

Diagrams.net with loaded AWS icons library

How it's different from the built-in AWS shapes library?

  • more up-to-date
  • shapes have connection points
  • shapes size is 50x50 px instead of 78x78 px (I found it much more suitable personally)
  • single library with all the icons

Previous versions

Generating library

Icons library is generated using icons-asset-generator:

poetry run icons-asset-generator \
    --filename-includes _48 \
    --filename-excludes Dark \
    --image-name-remove Light Arch_ Arch- Res_ _48 . - _  \
    --library-name-remove  . - _ \
    --path "./Asset-Package/" \
    diagrams.net \
    --size height=50

Merge it with the groups library:

# read skipping first and last line, remove newlines and multiple spaces
groups=$(sed '1d;$d' ./manual/Groups.xml | tr -d '\n' | tr -s ' ')
icons=$(cat icons.xml)
{ echo ${icons:0:12}; echo $groups; echo ","; echo ${icons:12} } | tr -d '\n' > icons-with-groups.xml

Copyright

All rights to the icons belong to Amazon Web Services.