From 0f06513d53893d7ec2c07c3b6774bb4d345f9cb2 Mon Sep 17 00:00:00 2001 From: Adrian Lupu Date: Sat, 25 Apr 2020 20:10:31 +0300 Subject: [PATCH] dynamic diagrams too big when using local version and online plantuml server --- ...4_Dynamic Diagram Sample - bigbankplc.puml | 21 +++++++------------ ..._Dynamic Diagram Sample - message bus.puml | 4 ---- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/samples/C4_Dynamic Diagram Sample - bigbankplc.puml b/samples/C4_Dynamic Diagram Sample - bigbankplc.puml index 9090ca7..6b6a8b9 100644 --- a/samples/C4_Dynamic Diagram Sample - bigbankplc.puml +++ b/samples/C4_Dynamic Diagram Sample - bigbankplc.puml @@ -1,20 +1,15 @@ @startuml !include https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Dynamic.puml -' uncomment the following line and comment the first to use locally -' !include C4_Dynamic.puml - -' Structurizr.DynamicView: SignIn -title API Application - Dynamic LAYOUT_WITH_LEGEND() -ContainerDb(InternetBankingSystem__Database__1edef6c, "Database", "Relational Database Schema", "Stores user registration information, hashed authentication credentials, access logs, etc.") -Container(InternetBankingSystem__SinglePageApplication__23f6823, "Single-Page Application", "JavaScript and Angular", "Provides all of the Internet banking functionality to customers via their web browser.") -Container_Boundary(InternetBankingSystem__APIApplication__31f1f25, "API Application") { - Component(InternetBankingSystem__APIApplication__SecurityComponent__10c9772, "Security Component", "Spring Bean", "Provides functionality Related to signing in, changing passwords, etc.") - Component(InternetBankingSystem__APIApplication__SignInController__1fa4f18, "Sign In Controller", "Spring MVC Rest Controller", "Allows users to sign in to the Internet Banking System.") +ContainerDb(c4, "Database", "Relational Database Schema", "Stores user registration information, hashed authentication credentials, access logs, etc.") +Container(c1, "Single-Page Application", "JavaScript and Angular", "Provides all of the Internet banking functionality to customers via their web browser.") +Container_Boundary(b, "API Application") { + Component(c3, "Security Component", "Spring Bean", "Provides functionality Related to signing in, changing passwords, etc.") + Component(c2, "Sign In Controller", "Spring MVC Rest Controller", "Allows users to sign in to the Internet Banking System.") } -Rel_R(InternetBankingSystem__SinglePageApplication__23f6823, InternetBankingSystem__APIApplication__SignInController__1fa4f18, "Submits credentials to", "JSON/HTTPS") -Rel(InternetBankingSystem__APIApplication__SignInController__1fa4f18, InternetBankingSystem__APIApplication__SecurityComponent__10c9772, "Calls isAuthenticated() on") -Rel_R(InternetBankingSystem__APIApplication__SecurityComponent__10c9772, InternetBankingSystem__Database__1edef6c, "select * from users where username = ?", "JDBC") +Rel_R(c1, c2, "Submits credentials to", "JSON/HTTPS") +Rel(c2, c3, "Calls isAuthenticated() on") +Rel_R(c3, c4, "select * from users where username = ?", "JDBC") @enduml \ No newline at end of file diff --git a/samples/C4_Dynamic Diagram Sample - message bus.puml b/samples/C4_Dynamic Diagram Sample - message bus.puml index c6a687c..c0094f8 100644 --- a/samples/C4_Dynamic Diagram Sample - message bus.puml +++ b/samples/C4_Dynamic Diagram Sample - message bus.puml @@ -1,10 +1,7 @@ @startuml !include https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Dynamic.puml -' uncomment the following line and comment the first to use locally -' !include C4_Dynamic.puml LAYOUT_TOP_DOWN() -' LAYOUT_AS_SKETCH() LAYOUT_WITH_LEGEND() Person(customer, Customer, "A customer") @@ -19,7 +16,6 @@ System_Boundary(c1, "Customer Information") { Container(audit_store, "Audit Store", "Event Store", "Stores information about events that have happened") } -'simple order with Rel Rel(customer, app, "Updates his profile using", "HTTPS") Rel(app, customer_service, "Updates customer information using", "JSON/HTTPS") Rel(customer_service, customer_db, "Stores data in", "JDBC")