/DrawItExercises

Using Plant UML or other Sequential Activities, Draw IO or anything that can be used to plan some Architectural ideas

Introduction to C4 Modelling

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.

img

Plant UML

C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures – especially during up-front design sessions – with an intuitive language using open source and platform independent tools. Familiarise yourself with the C4 Model on the web site and this will become an intuitive way of communicating at the correct level.

Setup vscode

  • Under the Marketplace extensions, add PlantUML and PlantUMLPreview

    image-20221123232927866

  • Under the source code of any diagram with the .puml extension, type the following to preview the diagram

    CTRL + P (Windows/Linux)
    CMD + P (Mac)
  • Add snippits to VScode to help with code completion by copying this into your global setup

  • Note there are other ways with installing GraphViz and other previewers but this was the simplest for me to get going