Skip to Content
Technical Articles
Author's profile photo Mauricio Lauffer

Create SAP BTP solution diagrams with Draw.io (Diagrams.net)

Quick blog just to share something I think it’s AWESOME and haven’t seen people using yet.

You may have used Draw.io (now called Diagrams.net) to create architecture/solution diagrams, flowcharts, mockups, UML, etc. The good news is that a good soul has created a Draw.io library with the SAP BTP icons! It’s the first result on Google when you search for “drawio sap btp icons” (why I haven’t googled it before??!).

 

SAP Business Technology Platform Solution Diagrams & Icons – Custom draw.io library

https://github.com/rsletta/sap_btp_icons_drawio_lib

 

Using it is simple

Start a new diagram in Draw.io, then click on File > Open Library from > GitHub…

Step%201

Step 1

 

Authorize Draw.io to access your GitHub account.

Step%202

Step 2

Step%203

Step 3

 

A dialog with your repos will open.

Step%204

Step 4

 

Click on Enter Value… you can input any public GitHub repo. Enter org/repo name: rsletta/sap_btp_icons_drawio_lib

Step%205

Step 5

 

Select the branch: main

Step%206

Step 6

 

Navigate to the libs folder and select a file. Each file is a library with multiple icons.

Step%207

Step 7

 

Repeat the operation for all files in libs folder. You should see the icons on the left panel.

Step%2066

Step 8

 

Use the SAP BTP icons to build your diagram.

SAP%20BTP%20Solution%20Diagram

SAP BTP Solution Diagram

 

 

If you don’t want to import the library via GitHub integration, the GitHub repo describes other ways to do it. Check them out.

 

PS: there’s this blog from 2018, Be Visual! Use Official Icons and Samples for SAP Business Technology Platform Solution Diagrams, sharing a .ppt file with icons and design guidelines for SAP BTP solution diagrams. That was great, but for whatever reason new icons haven’t been updated and the wiki page has been removed. Which is a shame for I loved that. From now on, I’ll be using Draw.io with rsletta/sap_btp_icons_drawio_lib custom libraries.

Assigned Tags

      17 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Nils Lutz
      Nils Lutz

      Hi Mauricio,

      maybe Ronnie André Bjørvik Sletta can tell us how he created the lib or move it to a community repo so we could keep it up to date with latest icons (if SAP minds to provide the raw material to us :))

      Br

      Nils

      Author's profile photo Ronnie André Bjørvik Sletta
      Ronnie André Bjørvik Sletta

      Hi Nils Lutz and Mauricio

      It's nice to see that others get value from the repo. I've been a bit out of the loop since leaving the professional SAP space in march, and didn't notice that they have pulled the wiki page. There is a comment in the blog post from Carsten Boennen, linking to the resources (https://blogs.sap.com/2018/01/05/be-visual-use-official-icons-and-samples-for-sap-cloud-platform-solution-diagrams/#comment-635548). It seems they haven't been updatesd since march 2021 though.

      The process of creating the libraries is straight forward and manuel, I'm afraid. Pull in the SVGs of the icons to draw.io, and export them as a library. The result is the exported XMLs you find in the repo.

       

      best regards

      Ronnie

      Author's profile photo Mauricio Lauffer
      Mauricio Lauffer
      Blog Post Author

      Ronnie André Bjørvik Sletta

      I've automated the process to get all SAP BTP icons and update a custom library.

      A PR's been create: Auto create new library with all SAP BTP Services Icons

      Author's profile photo Ronnie André Bjørvik Sletta
      Ronnie André Bjørvik Sletta

      Cool, I have a look at it as soon as I have time. Thank you for contributing.👍

      Author's profile photo Gregor Wolf
      Gregor Wolf

      Thank you Mauricio for sharing. I hope that Bertram Ganz and Carsten Boennen work on a SAP provided location that can be used in Draw.io. The https://github.com/SAP-samples organization would be a good place for this.

      Author's profile photo Ahmed Ali Khan
      Ahmed Ali Khan

      I am not getting any options to open the library with GIT, I have installed the latest version, Can you suggest some solution?

      Author's profile photo Geert-Jan Klaps
      Geert-Jan Klaps

      Hi,

      This one is mentioned in the GIT repo, for the locally installed version of the tool you should download the ZIP file and extract its contents. Using the "Open Library" just open the XML files one by one.

      Cheers,

      Geert-Jan

      Author's profile photo Richard Fahey
      Richard Fahey

      This is a great addition as draw.io is an easy and great tool to use. Is there a way we can get the other icons e.g. the SAP logos and icons for SAP BW / HANA also available. Are they somewhere to add this for SAP BW/HANA architectural diagrams?

      Author's profile photo Mauricio Lauffer
      Mauricio Lauffer
      Blog Post Author

      It's an open source library, one could add content to it or create its own custom library with other SAP icons. It'd be nice to have icons there, right? Perhaps the community starts contributing to the project   =)

      Author's profile photo Alex Dong
      Alex Dong

      hi Mauricio,

      Nice blog! And BTW, draw.io can be accessed via Microsoft Visual Studio Code either.

      Best regards,

      Alex

      Author's profile photo Mauricio Lauffer
      Mauricio Lauffer
      Blog Post Author

      Yes, there's! One can find it here: Draw.io VS Code Integration

      Author's profile photo Rafael Yegros
      Rafael Yegros

      To add it as lib on VSCode extension, you can add the following at extension settings:

        "hediet.vscode-drawio.customLibraries": [
          {
            "url": "https://raw.githubusercontent.com/mauriciolauffer/sap_btp_icons_drawio_lib/main/libs/SAP_BTP_Service_Icons_latest.xml",
            "libName": "SAP",
            "entryId": "SAP"
          }
        ]

      Tnks Mauricio .

      Author's profile photo Christian Link
      Christian Link

      THANK YOU .... I really was not aware of this. Makes live much easier

      Author's profile photo Yogananda Muthaiah
      Yogananda Muthaiah

      Mauricio

      New BTP Icons and new style is been released.

      Author's profile photo Mauricio Lauffer
      Mauricio Lauffer
      Blog Post Author

      Thanks for sharing, but the library has an auto-update script. Every time a new icon is published, the script updates the library, no need for manual work here.

      I'm already using them 😊

      BTP%20new%20icons

      Author's profile photo Abraham MD
      Abraham MD

      Hi Mauricio - Thank you for this. I have been using this library. I imported the latest xml files from your repository into my draw.io but the icons for Datasphere is missing. Please advise what is wrong

      Author's profile photo Shaun Oosthuizen
      Shaun Oosthuizen

      Legend. Thanks for your contribution Mauricio. I had to do a fresh install of Drawio desktop today and this made it very easy.