Home

Awesome

Latest-release

IBM Cloud Stencils

NOTE: If you are an IBM employee, please go to the internal repo

Create IBM Cloud diagrams using Draw.io tool with IBM Cloud Architecture Stencils.

This repo is intended to provide IBM Cloud Architecture icons for external customers and business partners. IBM Cloud's approved design tool is Draw.io, however we have also provided Powerpoint (.ppt) and SVG (.svg) files for your convenience.

This repository is an interim source to obtain the icons.

Drawio (xml & drawio)

<details><summary>click here to expand</summary>

Getting drawio desktop application

Go to the jgraph drawio repo site to download the latest desktop draw.io application.

Stencil Index/Inventory

Several xml files are provided with groups of stencils, however, for convenience, an All-In-One xml (ibm_all_in_one.xml) file containing all shapes across categories is also provided and kept up to date under drawio/stencils/2.0.

Click here to open

Getting stencil libraries compatible with draw.io application

If you need to use 2.0 shapes compatible/importable with/in desktop drawio application, a static version of the stencils has been made available under drawio/stencils/2.0 in this repository. To import the libraries (.xmls), follow the instructions in the import guide below. Please keep in mind that when the libraries get updated (new, changed and deleted stencils) or new libraries get added/deleted, a release will be published in the repo.

Import Guide

<details><summary> Importing Stencil Libraries into Draw.io desktop tool</summary> <p>

This section provides instructions on how to import stencils published in this repository (available in this path drawio/stencils/2.0) into draw.io desktop application. Stencils/icons are added and grouped using libraries, the libraries can contain one or several stencils, these are saved and generated in XML format (.xml). To use these these custom libraries, they first must be imported in order to make them available in the draw.io utility/tool.

Import Guides

<details><summary>Import using Github Clone (Recommended)</summary> <p>

Prerequistes

Option 1 - GitHub Desktop Instructions

<details><summary>Click here to expand</summary> </details>

Option 2 - GitHub CLI Instructions

<details><summary>Click here to expand</summary> </details>

Default configurations:

:exclamation: Important: stencils must be in reverse order in JSON to load in alphabetical order in drawio desktop.

</p> </details> <details><summary>Import using Download Zip</summary> <p>

</p> </details> </p> </details>

v2.0 Examples

<details><summary>IBM Kubernetes Service in a Classic Single-Region Multi-Zone environment using v2.0 stencils and latest connector standards</summary>

</details> <details><summary>IBM Kubernetes Service in a VPC Single-Region Multi-Zone environment using v2.0 stencils and latest connector standards</summary>

</details> <details><summary>IBM Red Hat OpenShift Service in a Classic Single-Region Multi-Zone environment using v2.0 stencils and latest connector standards</summary>

</details> <details><summary>IBM Red Hat OpenShift Service in a VPC Single-Region Multi-Zone environment using v2.0 stencils and latest connector standards</summary>

</details>

v2.0 Templates

Find latest templates in drawio/templates/v2.0.

</details>

PowerPoint (ppt)

<details><summary>click here to expand</summary>

Getting ppt instructions file and icons

Please find the IBM_IT Architecture diagrams kit_External file under ppt folder. For video tutorial with demo see video tutorial below.

Creating icons in ppt

https://github.com/IBM-Cloud/architecture-icons/assets/51208928/94b6be7a-b9d4-4979-bda5-5a8f05e27e2f

</details>

Scalable Vector Graphics (svg)

<details><summary>click here to expand</summary>

Getting svg icons/files

Please find the SVG sfiles under svg folder.

</details>

Tools & Conventions

<details><summary>Format & Layout</summary> <p>

IBM stencils / shapes can be of any of the following formats:

This example shows the App VSI deployedOn App Subnet and App VSI deployedTo both the Maint SG and App SG.

Using a non-container group for security group prevents ambiguities as to whether the App VSI is physically in the subnet or a security group if the security group were a container group, however since the security group is a non-container group the App VSI is only physically in the subnet on the diagram.

If needed, use alt-click or option-click to select shapes inside of a non-container group.

</p> </details> <details><summary>Colors</summary> <p>

Codes for the above colors correspond to the following primary color codes.

Fill colors are either white or the light color from the same color family as the corresponding primary color. For example, Cyan 50 is the primary color for Network and the corresponding fill color for a network group is either white or Cyan 10 for accessibility.

Nested container groups should alternate between white and light fill for accessibility.

</p> </details> <details><summary>Connectors</summary> <p>

Please see the Connectors file with draw.io format version of the picture above or import the IBM Connectors xml library.

</p> </details>

Help & Support

For additional help and support on how to use stencils and drawio, please open an issue.