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