From 0fed619db9a495377aa06964b3b91ada6981e31b Mon Sep 17 00:00:00 2001 From: Keith Hazelton Date: Wed, 26 May 2021 11:06:52 -0500 Subject: [PATCH] Update and rename plantStructC4.adoc to plantuml-c4-structurizr.adoc --- ...uctC4.adoc => plantuml-c4-structurizr.adoc | 41 ++++++++++++++++++- 1 file changed, 39 insertions(+), 2 deletions(-) rename plantStructC4.adoc => plantuml-c4-structurizr.adoc (61%) diff --git a/plantStructC4.adoc b/plantuml-c4-structurizr.adoc similarity index 61% rename from plantStructC4.adoc rename to plantuml-c4-structurizr.adoc index 040bb96..cca2394 100644 --- a/plantStructC4.adoc +++ b/plantuml-c4-structurizr.adoc @@ -1,8 +1,45 @@ -== plantStructC4.adoc +== plantuml-c4-structurizr.adoc === Diagramming IAM with PlantUML, Structurizr, Dot, and C4 models -==== Start simple +=== Plantuml, Structurizr How-to on Mac + +*brew install structurizr-cli* + +``` +brew install structurizr-cli +``` + +*use structuralizr-cli to transform structurizr domain-specific language 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'* + +*quick view of the rendered png file* +``` +qlmanage -p structurizr-SystemContext.png +``` + <= open png for preview on Mac + + +- - - + +==== Online, no installation required Open Online PlantUML Server: http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000