Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C4 Diagram. Compatible with C4-PlantUML syntax. #3038

Merged
merged 7 commits into from Jun 7, 2022

Commits on May 15, 2022

  1. Add C4Context diagram. Compatible with C4-PlantUML syntax.

    ```
        C4Context
          title System Context diagram for Internet Banking System
    
          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")
          System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.")
    
          Person(customerD, "Banking Customer D", "A customer of the bank, <br/> with personal bank accounts.")
    
          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.")
            }
    
            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, with personal bank accounts.")
              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")
    ```
    pinghe committed May 15, 2022
    Copy the full SHA
    a1ef3f0 View commit details
    Browse the repository at this point in the history
  2. Add C4Context diagram. Compatible with C4-PlantUML syntax.

    ```
        C4Context
          title System Context diagram for Internet Banking System
    
          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")
          System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.")
    
          Person(customerD, "Banking Customer D", "A customer of the bank, <br/> with personal bank accounts.")
    
          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.")
            }
    
            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, with personal bank accounts.")
              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")
    ```
    pinghe committed May 15, 2022
    Copy the full SHA
    015c112 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7d65840 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Copy the full SHA
    9ba8e6e View commit details
    Browse the repository at this point in the history
  2. Add C4Context diagram. Compatible with C4-PlantUML syntax.

    For an example, see the source code demos/index.html
    
     - System Context
     - Container diagram
     - Component diagram
     - Dynamic diagram
     - Deployment diagram
    pinghe committed May 17, 2022
    Copy the full SHA
    28ca142 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    4906460 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    390ec89 View commit details
    Browse the repository at this point in the history