Skip to content
Permalink
main
Go to file
1 contributor

Users who have contributed to this file

90 lines (63 sloc) 2.21 KB

plantuml-c4-structurizr.adoc

Diagramming IAM with PlantUML, Structurizr, Dot, and C4 models

Plantuml, Structurizr Hands-on with Mac


brew install structurizr-cli

brew install structurizr-cli

use structuralizr-cli to transform structurizr domain-specific language (.dsl) to PlantUML format

./structurizr.sh export -workspace ~/opt/_adoc/non.adoc/workspace.dsl -format plantuml

output file is 'structurizr-SystemContext.puml'

install graphvis, plantuml from homebrew

brew install graphviz
brew install plantuml

render plantuml into graphic form

plantuml structurizr-SystemContext.puml

rendered graphic file is 'structurizr-SystemContext.png'

structurizr SystemContext

quick view of the rendered png file

open structurizr-SystemContext.png

PlantUML Server Online, no installation required

Opens with a one-arrow UML sequence diagram in text form

@startuml
Bob -> Alice : hello
@enduml

Shows the graphic form (png) below the text entry area

simple 00

Exercise 1: Add a reply from Alice to Bob


Additional References

http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000 ⇐ Online PlantUML Server
http://plantuml.com/guide ⇐ Plantuml Guide in PDF; Starts with the basics
https://plantuml.com/ ⇐ home page, PlantUML
https://crashedmind.github.io/PlantUMLHitchhikersGuide/ ⇐ Hitchhiker’s guide to Plantuml

https://plantuml.com/link ⇐ how to include hyperlinks in PlantUML diagrams
https://forum.plantuml.net/5852/data-flow-diagrams ⇐ data flow diagrams using Graphviz dot (layer under plantuml)


Advance to C4 model construction with Structurizr

https://github.com/structurizr/cli/blob/master/docs/getting-started.md ⇐ Structurizr getting started page
https://github.com/structurizr/dsl/blob/master/docs/language-reference.md ⇐ Structurizr DSL (Domain Specific Language) Reference Manual

You can’t perform that action at this time.