Simple animation of PlantUML diagrams
Project description
PlantUML Animation
Simple animation for PlantUML diagrams.
Documentation: https://namuan.github.io/animate-puml
Source Code: https://github.com/namuan/animate-puml
PyPI: https://pypi.org/project/animate-puml/
Pre-requisites
- PlantUML
brew install plantuml
Installation
pip install animate-puml
How it works
Sample PlantUML Document
@startuml
' scale 1000 width
!$disabled = "<color:lightgray><size:14>"
rectangle "<size:20>Client" as Client #LightCyan
rectangle "AUTH" as Auth
rectangle "API_GATEWAY" as APIG
rectangle GCP #LightCyan {
node "ServiceA" as ServiceA
node "ServiceB" as ServiceB
node "ServiceC" as ServiceC
queue "Kafka" as Queue
}
' start
Client -right[#lightgray]-> Auth : $disabled Get Token
Client -right[#lightgray]-> APIG : $disabled Pass token
APIG -up[#lightgray]-> Auth : $disabled Validate token
APIG -right[#lightgray]-> ServiceA : $disabled Pass token
ServiceA -up[#lightgray]-> Auth : $disabled Validate token
ServiceA -right[#lightgray]-> ServiceB : $disabled Pass token
ServiceB -up[#lightgray]-> Auth : $disabled Validate token
ServiceA -down[#lightgray]-> Queue : $disabled Pass token
Queue -down[#lightgray]-> ServiceC : $disabled Pass token
ServiceC -up[#lightgray]-> Auth : $disabled Validate token
' end
@enduml
Acknowledgements
Development
-
Clone this repository
-
Requirements:
- Python 3.7+
- Poetry
-
Create a virtual environment and install the dependencies
poetry install
- Activate the virtual environment
poetry shell
Validating build
make build
Release process
A release is automatically published when a new version is bumped using make bump
.
See .github/workflows/build.yml
for more details.
Once the release is published, .github/workflows/publish.yml
will automatically publish it to PyPI.
Disclaimer
This project is not affiliated with PlantUML.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file animate_puml-0.4.0.tar.gz
.
File metadata
- Download URL: animate_puml-0.4.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee71a98bf617b828325d8de457e3ed78982caed79625f611577cfe58a63ee16c |
|
MD5 | 87bc916b99aeb0d28fa1135a06ae3039 |
|
BLAKE2b-256 | 27bcfea5db8717e2c2a687b62181e18ace8f7ee95fffb47bb6d88bdedb290095 |
File details
Details for the file animate_puml-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: animate_puml-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f68f4a4e35a2497f817a4c3beea678031b52392c188d641a006def3c1d1e95c |
|
MD5 | 3882da674b58ec8c7ef28d50b5a6ed6c |
|
BLAKE2b-256 | 4346defefff6fea4ba05252ce3c927b769fd604c5579595970b7b37092014180 |