From 9d9815bcd301101f6b1e58947097d42ce83348ed Mon Sep 17 00:00:00 2001 From: Alan Parkinson Date: Mon, 5 Aug 2024 14:00:25 +0100 Subject: [PATCH 1/3] Create level0.md --- .coauthor/development/architecture/level0.md | 47 ++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .coauthor/development/architecture/level0.md diff --git a/.coauthor/development/architecture/level0.md b/.coauthor/development/architecture/level0.md new file mode 100644 index 0000000..a7b34ac --- /dev/null +++ b/.coauthor/development/architecture/level0.md @@ -0,0 +1,47 @@ +Here is a simple flow chart: + +```mermaid + C4Context + title System Context diagram for Internet Banking System + Enterprise_Boundary(b0, "BankBoundary0") { + Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.") + Person(customerB, "Banking Customer B") + Person_Ext(customerC, "Banking Customer C", "desc") + + Person(customerD, "Banking Customer D", "A customer of the bank,
with personal bank accounts.") + + System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.") + + Enterprise_Boundary(b1, "BankBoundary") { + + SystemDb_Ext(SystemE, "Mainframe Banking System", "Stores all of the core banking information about customers, accounts, transactions, etc.") + + System_Boundary(b2, "BankBoundary2") { + System(SystemA, "Banking System A") + System(SystemB, "Banking System B", "A system of the bank, with personal bank accounts. next line.") + } + + System_Ext(SystemC, "E-mail system", "The internal Microsoft Exchange e-mail system.") + SystemDb(SystemD, "Banking System D Database", "A system of the bank, with personal bank accounts.") + + Boundary(b3, "BankBoundary3", "boundary") { + SystemQueue(SystemF, "Banking System F Queue", "A system of the bank.") + SystemQueue_Ext(SystemG, "Banking System G Queue", "A system of the bank, with personal bank accounts.") + } + } + } + + BiRel(customerA, SystemAA, "Uses") + BiRel(SystemAA, SystemE, "Uses") + Rel(SystemAA, SystemC, "Sends e-mails", "SMTP") + Rel(SystemC, customerA, "Sends e-mails to") + + UpdateElementStyle(customerA, $fontColor="red", $bgColor="grey", $borderColor="red") + UpdateRelStyle(customerA, SystemAA, $textColor="blue", $lineColor="blue", $offsetX="5") + UpdateRelStyle(SystemAA, SystemE, $textColor="blue", $lineColor="blue", $offsetY="-10") + UpdateRelStyle(SystemAA, SystemC, $textColor="blue", $lineColor="blue", $offsetY="-40", $offsetX="-50") + UpdateRelStyle(SystemC, customerA, $textColor="red", $lineColor="red", $offsetX="-50", $offsetY="20") + + UpdateLayoutConfig($c4ShapeInRow="3", $c4BoundaryInRow="1") + +``` From a5593b3555c48a2416291426425ad4d102e61e83 Mon Sep 17 00:00:00 2001 From: Alan Parkinson Date: Mon, 5 Aug 2024 15:02:46 +0100 Subject: [PATCH 2/3] Update level0.md --- .coauthor/development/architecture/level0.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.coauthor/development/architecture/level0.md b/.coauthor/development/architecture/level0.md index a7b34ac..9128676 100644 --- a/.coauthor/development/architecture/level0.md +++ b/.coauthor/development/architecture/level0.md @@ -1,3 +1,8 @@ +--- +title: Level 0 diagram +category: architecture +--- + Here is a simple flow chart: ```mermaid From f12e9aab93995ebf90326538f34fe8db79fecf66 Mon Sep 17 00:00:00 2001 From: Alan Parkinson Date: Mon, 5 Aug 2024 15:08:31 +0100 Subject: [PATCH 3/3] Update and rename level0.md to ArchitectureDesign.md --- .../architecture/{level0.md => ArchitectureDesign.md} | 4 ---- 1 file changed, 4 deletions(-) rename .coauthor/development/architecture/{level0.md => ArchitectureDesign.md} (97%) diff --git a/.coauthor/development/architecture/level0.md b/.coauthor/development/architecture/ArchitectureDesign.md similarity index 97% rename from .coauthor/development/architecture/level0.md rename to .coauthor/development/architecture/ArchitectureDesign.md index 9128676..5e8bd54 100644 --- a/.coauthor/development/architecture/level0.md +++ b/.coauthor/development/architecture/ArchitectureDesign.md @@ -1,7 +1,3 @@ ---- -title: Level 0 diagram -category: architecture ---- Here is a simple flow chart: