Google icon sprite for PlantUML.
Inspired from tupadr3/plantuml-icon-font-sprites.
Icons of this repository are able to use with plantuml-stdlib/C4-PlantUML.
!define GICONURL https://raw.githubusercontent.com/ryutah/google-icons-for-plantuml/master/google-cloud
' include sprite that you want
!include GICONURL/cloud_run.puml
!define GWSICONURL https://raw.githubusercontent.com/ryutah/google-icons-for-plantuml/master/google-workspace
' include sprite that you want
!include GWSICONURL/gmail.puml
!define FICONURL https://raw.githubusercontent.com/ryutah/google-icons-for-plantuml/master/firebase
' include sprite that you want
!include FICONURL/cloud_firestore.puml
If you want to use sprite macro like tupadr3/plantuml-icon-font-sprites, you should import common.puml of tupadr3/plantuml-icon-font-sprites.
!define ICONURL https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/v2.4.0
!includeurl ICONURL/common.puml
' Then, include sprites
!define GICONURL https://raw.githubusercontent.com/ryutah/google-icons-for-plantuml/master/google-cloud
!include GICONURL/cloud_run.puml
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
!define GICONURL https://raw.githubusercontent.com/ryutah/google-icons-for-plantuml/master/google-cloud
!include GICONURL/cloud_run.puml
!include GICONURL/app_engine.puml
!include GICONURL/datastore.puml
!include GICONURL/cloud_storage.puml
!define GWSICONURL https://raw.githubusercontent.com/ryutah/google-icons-for-plantuml/master/google-workspace
!include GWSICONURL/calendar.puml
!include GWSICONURL/gmail.puml
System(cloud_run, "Cloud Run", "webapp", $sprite="cloud_run")
System(app_engine, "App Engine", "webapp", $sprite="app_engine")
SystemDb(datastore, "Datastore", "database", $sprite="datastore")
SystemDb(cloud_storage, "Cloud Storage", "storage", $sprite="cloud_storage")
System(calendar, "Calendar", "calendar", $sprite="calendar")
System(gmail, "Gmail", "gmail", $sprite="gmail")
@enduml
@startuml
!define ICONURL https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/v2.4.0
!includeurl ICONURL/common.puml
!define GICONURL https://raw.githubusercontent.com/ryutah/google-icons-for-plantuml/master/google-cloud
!include GICONURL/cloud_run.puml
skinparam defaultTextAlignment center
DEV_CLOUD_RUN(cloud_run)
DEV_CLOUD_RUN(cloud_run2,label of cloud_run2)
DEV_CLOUD_RUN(cloud_run3,label of cloud_run3,database)
DEV_CLOUD_RUN(cloud_run4,label of cloud_run4,database,red) #DeepSkyBlue
@enduml
- Inkscape
- ImageMagick
- PluntUML jar file
- python 3.x
-
Install dependencies
pip install -r requirements.txt
-
Build sprites
make build
- Downlaods icons from here
- set environment variable
GOOGLE_WORKSPACE_ICON_ZIP_FILE_PATH
to location of download file path - run
make build