Skip to content

ytsssun/gilbarbara-plantuml-sprites

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gilbarbara-plantuml-sprites

This repository contains PlantUML sprites generated from Gil Barbara's logos, which can easily be used in PlantUML diagrams for nice visual aid.

This project is inspired in other PlantUML sprites repositories like AWS-PlantUML and PlantUML Icon-Font Sprites. Check PlantUML stdlib for a list of other similar repositories included by default by PlantUML.

Usage

Just import the proper sprite into your PlantUML diagram and use it like any other sprite.

Example:

@startuml

!define SPRITESURL https://raw.githubusercontent.com/plantuml-stdlib/gilbarbara-plantuml-sprites/v1.0/sprites
!includeurl SPRITESURL/flask.puml
!includeurl SPRITESURL/kafka.puml
!includeurl SPRITESURL/kotlin.puml
!includeurl SPRITESURL/cassandra.puml

title Gil Barbara's logos example

skinparam monochrome true

rectangle "<$flask>\nwebapp" as webapp
queue "<$kafka>" as kafka
rectangle "<$kotlin>\ndaemon" as daemon
database "<$cassandra>" as cassandra

webapp -> kafka
kafka -> daemon
daemon --> cassandra 

@enduml

Example

The list of available sprites is here.

You can play around and test ideas with Online PlantUML Editor.

Build

Sprites are built with provided svgsFolderUrl2plantUmlSprites.groovy script. To update sprites from icons in Gil Barbara's repo just re-run:

./svgsFolderUrl2plantUmlSprites.groovy https://github.com/gilbarbara/logos/tree/master/logos

Note

  • All logo icons are the registered trademarks of their respective owners.