Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 2.11 KB

README.md

File metadata and controls

36 lines (20 loc) · 2.11 KB

Introduction

This repository is meant to be a starting point for people that want to create C4 diagrams using the PlantUML markup language and need an integrated, working sample.

The C4 modelling language

C4 diagrams are part of the C4 modelling language, created by Simon Brown.

The C4 model was created as a way to help software development teams describe and communicate software architecture, both during up-front design sessions and when retrospectively documenting an existing codebase. It's a way to create maps of your code, at various levels of detail, in the same way you would use something like Google Maps to zoom in and out of an area you are interested in.
infoq.com

Requirements

Visual Studio Code

Visual Studio Code is used as a source-code editor for the PlantUML markup. VSCode supports previewing the diagram as you are writing it, as well as exporting the diagram upon save.

Docker / Docker Compose

Docker is required to host a PlantUML server. This server will be used to translate the PlantUML markup to images (.png). Click here to read how to install it on Windows or Mac.

After installing Docker, Docker Compose should also be installed. The scripts\ folder contains scripts for cmd, powershell and bash to start and stop the PlantUML server using Docker Compose.

Visual Studio Code Extensions

Further Credits

Further Reading