Skip to content

Built off of Auth0's Identicons this provides a way to easily include identity related images into PlantUML diagrams

License

Notifications You must be signed in to change notification settings

UberEther/plantuml-identity-sprites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlantUML Identity Icon Sprites

Getting Started

This work was started with examples from the great script by Anthony in the PlantUML repo at https://github.com/plantuml/plantuml/blob/master/tools/create_sprites.sh

!define ICONURL https://raw.githubusercontent.com/uberether/plantuml-identity-sprites/main

Import the sprites that you want

```puml
!include ../identicons-set-v1/icon_api.puml
!include ../identicons-set-v2/icon_browser.puml
!include ../identicons-set-v2/icon_webauthn.puml

or via url

!includeurl ICONURL/common.puml
!includeurl ICONURL/identicons-set-v1/icon_api.puml
!includeurl ICONURL/identicons-set-v2/icon_browser.puml
!includeurl ICONURL/identicons-set-v2/icon_webauthn.puml

To use the sprites add one of the macros

ID1_ICON_API(api)

The macros are prefixed with the set and the name of the icon

<prefix>_<name>(alias)
<prefix>_<name>(alias,label)
<prefix>_<name>(alias,label,shape)
<prefix>_<name>(alias,label,shape,color)

Icon Sets

The following icon sets are included:

Name Index
Identicons v1 List of macros
Identicons v2 List of macros

Build

Mac OSX

./create_sprites.sh -p identicons-set-v2 ID2

Note

Contributing

Contributions are welcome. In order to update an existing set of icons or to add a new icon set please fork the repository and use a feature branch.

Changelog

v1.0.0

  • Initial release

Enjoy!

About

Built off of Auth0's Identicons this provides a way to easily include identity related images into PlantUML diagrams

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages