![]() ![]() ![]() 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. So, is there any attribute that I can use, which dont expect the startuml and enduml in the. I have some old repositories which do not follow that rule. Custom schema definitions (via UpdateElementStyle()) I totally understand that we need to follow the plantuml format like starting the diagram with startuml and end the code with enduml.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).System Context & System Landscape diagrams.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 |