Take a look at the following sample of a C4 Container Diagram: Basic SampleĬontainer(web_app, "Web Application", "C#, ASP.NET Core 2. Rel(personAlias, containerAlias, "Label", "Optional addition to this, it is also possible to define a system or component boundary. System(systemAlias, "Label", "Optional Description") Person(personAlias, "Label", "Optional Description")Ĭontainer(containerAlias, "Label", "Technology", "Optional Description") the PlantUML Web Server too.)Īfter you have included C4_Container.puml you can use the defined macro definitions for the C4 elements: Person, Person_Ext, System, System_Ext, Container, Relationship, Boundary, and System_Boundary C4_Elements (If you don’t want run PlantUML locally you can use e.g. files as standard library C4 (no additional files or Internet is required). If you don’t need the up-to-date version, PlantUML includes the last released C4_. If you want to use the always up-to-date version of the C4-PlantUML library in this repo (which obviously requires an Internet connection every time you render a document), use the following: !include To be independent of any Internet connectivity, you can download the files found in the root and make use of them by supplying the command line argument -DRELATIVE_INCLUDE="." to PlantUML: puml file, you need to include the C4_Context.puml, C4_Container.puml or C4_Component.puml file found in the root of this repo. Getting Started Including the C4-PlantUML libraryĪt the top of your C4 PlantUML. Custom schema definitions (via UpdateElementStyle()).Sample with different boundary tag combinations.Sample with tag dependent sprites and custom legend text.Custom tags/stereotypes support and skinparam updates.Layout (arrange) elements (without relationships).latexmk: Data: scriptEngine'perl.exe', scriptName'latexmk' I installed the LaTeX Workshop extension for VS Code as well as TeX Live and C:texlive2018binwin32 is part of my PATH environment variable. System Context & System Landscape diagrams Im trying to set up LaTeX in VS Code on Windows 10 but I keep getting: latexmk: The script engine could not be found.Now let’s create a C4 Container diagram.C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicating software architectures – especially during up-front design sessions – with an intuitive language using open source and platform independent tools.Ĭ4-PlantUML includes macros, stereotypes, and other goodies (like VSCode Snippets) for creating C4 diagrams with PlantUML.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |