|
| 1 | +--- |
| 2 | +name: C4 |
| 3 | +display_name: C4 (C4-PlantUML) |
| 4 | +description: The C4 library enables a simple way of describing and communicate software architectures with an intuitive language. |
| 5 | +author: Ricardo Niepel, kirchsth and contributors |
| 6 | +version: {release version without v} |
| 7 | +release: https://github.com/plantuml-stdlib/C4-PlantUML/tree/release/v{release version without v} |
| 8 | +license: MIT |
| 9 | +source: https://github.com/plantuml-stdlib/C4-PlantUML |
| 10 | +origin: https://c4model.com |
| 11 | +--- |
| 12 | +**C4 specific stdlib properties:** |
| 13 | + |
| 14 | +-black) |
| 15 | + |
| 16 | +[![release: https://github.com/plantuml-stdlib/C4-PlantUML/tree/release/v{release version without v}][Release Badge]][Release Link] |
| 17 | + |
| 18 | +[![license: MIT][License Badge]][License Link] |
| 19 | + |
| 20 | +[![source: https://github.com/plantuml-stdlib/C4-PlantUML][Source Badge]][Source Link] |
| 21 | +[![origin: https://c4model.com][Origin Badge]][Origin Link] |
| 22 | + |
| 23 | +[Release Badge]: https://img.shields.io/badge/release-https://github.com/plantuml--stdlib/C4--PlantUML/tree/release/v{release version without v}-blue |
| 24 | +[Release Link]: https://github.com/plantuml-stdlib/C4-PlantUML/tree/release/v{release version without v} |
| 25 | +[License Badge]: https://img.shields.io/badge/license-MIT-green |
| 26 | +[License Link]: https://github.com/plantuml-stdlib/C4-PlantUML/blob/master/LICENSE |
| 27 | +[Source Badge]: https://img.shields.io/badge/source-https://github.com/plantuml--stdlib/C4--PlantUML-blue |
| 28 | +[Source Link]: https://github.com/plantuml-stdlib/C4-PlantUML |
| 29 | +[Origin Badge]: https://img.shields.io/badge/origin-https://c4model.com-blue |
| 30 | +[Origin Link]: https://c4model.com |
| 31 | + |
| 32 | +**Support and community:** |
| 33 | +[![issues: C4][Issues Badge]][Issues Link] |
| 34 | +[![open master commits][Open Badge]][Open Link] |
| 35 | +[![discussions: C4][Discussions Badge]][Discussions Link] |
| 36 | + |
| 37 | +[Issues Badge]: https://img.shields.io/badge/issues-https://github.com/plantuml--stdlib/C4--PlantUML/issues-orange |
| 38 | +[Issues Link]: https://github.com/plantuml-stdlib/C4-PlantUML/issues |
| 39 | +[Open Badge]: https://img.shields.io/github/commits-difference/plantuml-stdlib/C4-PlantUML?base=release%2Fv{release version without v}&head=master&label=Open%20master%20commits&color=orange |
| 40 | +[Open Link]: https://github.com/plantuml-stdlib/C4-PlantUML/compare/v{release version without v}...master |
| 41 | +[Discussions Badge]: https://img.shields.io/badge/discussions-https://github.com/plantuml--stdlib/C4--PlantUML/discussions-orange |
| 42 | +[Discussions Link]: https://github.com/plantuml-stdlib/C4-PlantUML/discussions |
| 43 | + |
| 44 | +# C4 library (C4-PlantUML) [C4] |
| 45 | + |
| 46 | +The C4 library enables a simple way of describing and communicate software architectures with an intuitive language. |
| 47 | + |
| 48 | +It is the PlantUML integrated version of [C4-PlantUML](https://github.com/plantuml-stdlib/C4-PlantUML) and has the big advantage that it can be used without additional external includes. |
| 49 | +(E.g. container diagrams can be drawn with `!include <C4/C4_Container>` and no `!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml` is required.) |
| 50 | + |
| 51 | +## Example of usage: |
| 52 | + |
| 53 | +```plantuml |
| 54 | +@startuml |
| 55 | +!include <C4/C4_Container> |
| 56 | +LAYOUT_LEFT_RIGHT() |
| 57 | + |
| 58 | +Person(admin, "Administrator") |
| 59 | +System_Boundary(c1, "Sample System") { |
| 60 | + Container(web_app, "Web Application", "C#, ASP.NET Core 2.1 MVC", "Allows users to compare multiple Twitter timelines") |
| 61 | +} |
| 62 | +System(twitter, "Twitter") |
| 63 | + |
| 64 | +Rel(admin, web_app, "Uses", "HTTPS") |
| 65 | +Rel(web_app, twitter, "Gets tweets from", "HTTPS") |
| 66 | + |
| 67 | +SHOW_LEGEND() |
| 68 | +@enduml |
| 69 | +``` |
| 70 | + |
| 71 | +<br/> |
| 72 | + |
| 73 | +**renders following image:** |
| 74 | + |
| 75 | +[](https://www.plantuml.com/plantuml/uml/JL1TQy9047o_Nx5DNn8GYyN7KanJgmMhOivAdyAPRE7WFiBT1f7I_zvDjTfxMUvcPcTk9f5KeCuQSQDTRRe6uQ4OtnNZgl2Eb7OO7iKY_rXjPRMOliXgypgRopGJOeqXUfUgncetW2JlfuuK5FcGPA8yHa9RFVdEDIeSqth4f5BPrY2Si2I3Bm5yBaxf0VULQbjcxd0FUTiQNIlItYNyLDmE82_Nm-LKiYGWt0z7yFPUz5XkZ3z4w2A62EIXzhPLJB6T8TrRoeCcmW2aBHhsYXpn-nmofHF8Uyuq1iK6pT_dhh6saPKyvrAkooJx9LtGwvePKkGhzkCpUFjV8ihvQiTTpgRBP-vnWgxX-dy0) |
0 commit comments