mermaid

Here are the diagrams in your workspace, converted to mermaid format.

You can click the buttons to render individual diagrams, or render all diagrams. Please note that editing, viewing or rendering diagrams will send your diagram content to https://mermaidjs.github.io/mermaid-live-editor.

graph TB
  2("<div style='background: #519823; color: #ffffff'><b>Clinic Employee</b><br /><sup>[Person]</sup><br />An employee of the clinic</div>")
  style 2 fill:#519823
  1("<div style='background: #6cb33e; color: #ffffff'><b>Spring PetClinic</b><br /><sup>[Software System]</sup><br />Allows employees to view and<br />manage information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
  style 1 fill:#6cb33e
  2-. "<b>Uses</b><br /><sup></sup>" .->1

(please note that this will send your diagram content to https://mermaidjs.github.io/mermaid-live-editor)

graph TB
  2("<div style='background: #519823; color: #ffffff'><b>Clinic Employee</b><br /><sup>[Person]</sup><br />An employee of the clinic</div>")
  style 2 fill:#519823
  subgraph "Spring PetClinic"
    5("<div style='background: #91d366; color: #ffffff'><b>Database</b><br /><sup>[Container]</sup><br />Stores information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
click 5 https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb "https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb"
    style 5 fill:#91d366
    4("<div style='background: #91d366; color: #ffffff'><b>Web Application</b><br /><sup>[Container]</sup><br />Allows employees to view and<br />manage information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
    style 4 fill:#91d366
  end
  2-. "<b>Uses</b><br /><sup>[HTTPS]</sup>" .->4
  4-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->5

(please note that this will send your diagram content to https://mermaidjs.github.io/mermaid-live-editor)

Spring PetClinic - Web Application - Components

The Components diagram for the Spring PetClinic web application.

Download (raw) Download (encoded) Edit at https://mermaidjs.github.io/mermaid-live-editor View at https://mermaidjs.github.io/mermaid-live-editor

graph TB
  2("<div style='background: #519823; color: #ffffff'><b>Clinic Employee</b><br /><sup>[Person]</sup><br />An employee of the clinic</div>")
  style 2 fill:#519823
  5("<div style='background: #91d366; color: #ffffff'><b>Database</b><br /><sup>[Container]</sup><br />Stores information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
click 5 https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb "https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb"
  style 5 fill:#91d366
  subgraph "Web Application"
    13("<div style='background: #6cb33e; color: #000000'><b>ClinicService</b><br /><sup>[Spring Service]</sup><br />Mostly used as a facade so<br />all controllers have a single<br />point of entry</div>")
    style 13 fill:#6cb33e
    9("<div style='background: #d4f3c0; color: #000000'><b>CrashController</b><br /><sup>[Spring MVC Controller]</sup><br />Controller used to showcase<br />what happens when an<br />exception is thrown</div>")
    style 9 fill:#d4f3c0
    10("<div style='background: #d4f3c0; color: #000000'><b>OwnerController</b><br /><sup>[Spring MVC Controller]</sup><br /></div>")
    style 10 fill:#d4f3c0
    16("<div style='background: #95d46c; color: #000000'><b>OwnerRepository</b><br /><sup>[Spring Repository]</sup><br />Repository class for Owner<br />domain objects All method<br />names are compliant with<br />Spring Data naming<br />conventions so this interface<br />can easily be exten...</div>")
    style 16 fill:#95d46c
    12("<div style='background: #d4f3c0; color: #000000'><b>PetController</b><br /><sup>[Spring MVC Controller]</sup><br /></div>")
    style 12 fill:#d4f3c0
    15("<div style='background: #95d46c; color: #000000'><b>PetRepository</b><br /><sup>[Spring Repository]</sup><br />Repository class for Pet<br />domain objects All method<br />names are compliant with<br />Spring Data naming<br />conventions so this interface<br />can easily be extende...</div>")
    style 15 fill:#95d46c
    11("<div style='background: #d4f3c0; color: #000000'><b>VetController</b><br /><sup>[Spring MVC Controller]</sup><br /></div>")
    style 11 fill:#d4f3c0
    17("<div style='background: #95d46c; color: #000000'><b>VetRepository</b><br /><sup>[Spring Repository]</sup><br />Repository class for Vet<br />domain objects All method<br />names are compliant with<br />Spring Data naming<br />conventions so this interface<br />can easily be extende...</div>")
    style 17 fill:#95d46c
    8("<div style='background: #d4f3c0; color: #000000'><b>VisitController</b><br /><sup>[Spring MVC Controller]</sup><br /></div>")
    style 8 fill:#d4f3c0
    14("<div style='background: #95d46c; color: #000000'><b>VisitRepository</b><br /><sup>[Spring Repository]</sup><br />Repository class for Visit<br />domain objects All method<br />names are compliant with<br />Spring Data naming<br />conventions so this interface<br />can easily be exten...</div>")
    style 14 fill:#95d46c
  end
  2-. "<b>Uses</b><br /><sup>[HTTP]</sup>" .->9
  2-. "<b>Uses</b><br /><sup>[HTTP]</sup>" .->10
  2-. "<b>Uses</b><br /><sup>[HTTP]</sup>" .->12
  2-. "<b>Uses</b><br /><sup>[HTTP]</sup>" .->11
  2-. "<b>Uses</b><br /><sup>[HTTP]</sup>" .->8
  13-. "<b></b><br /><sup></sup>" .->16
  13-. "<b></b><br /><sup></sup>" .->15
  13-. "<b></b><br /><sup></sup>" .->17
  13-. "<b></b><br /><sup></sup>" .->14
  10-. "<b></b><br /><sup></sup>" .->13
  16-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->5
  12-. "<b></b><br /><sup></sup>" .->13
  15-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->5
  15-. "<b></b><br /><sup></sup>" .->16
  15-. "<b></b><br /><sup></sup>" .->14
  11-. "<b></b><br /><sup></sup>" .->13
  17-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->5
  8-. "<b></b><br /><sup></sup>" .->13
  14-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->5

(please note that this will send your diagram content to https://mermaidjs.github.io/mermaid-live-editor)

graph TB
  2("<div style='background: #519823; color: #ffffff'><b>Clinic Employee</b><br /><sup>[Person]</sup><br />An employee of the clinic</div>")
  style 2 fill:#519823
  13("<div style='background: #6cb33e; color: #000000'><b>ClinicService</b><br /><sup>[Spring Service]</sup><br />Mostly used as a facade so<br />all controllers have a single<br />point of entry</div>")
  style 13 fill:#6cb33e
  5("<div style='background: #91d366; color: #ffffff'><b>Database</b><br /><sup>[Container]</sup><br />Stores information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
click 5 https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb "https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb"
  style 5 fill:#91d366
  11("<div style='background: #d4f3c0; color: #000000'><b>VetController</b><br /><sup>[Spring MVC Controller]</sup><br /></div>")
  style 11 fill:#d4f3c0
  17("<div style='background: #95d46c; color: #000000'><b>VetRepository</b><br /><sup>[Spring Repository]</sup><br />Repository class for Vet<br />domain objects All method<br />names are compliant with<br />Spring Data naming<br />conventions so this interface<br />can easily be extende...</div>")
  style 17 fill:#95d46c
  2-->|"<b>1. Requests list of vets from<br />/vets</b><br /><sup>[HTTP]</sup>"|11
  11-->|"<b>2. Calls findVets</b><br /><sup></sup>"|13
  13-->|"<b>3. Calls findAll</b><br /><sup></sup>"|17
  17-->|"<b>4. select * from vets</b><br /><sup>[JDBC]</sup>"|5

(please note that this will send your diagram content to https://mermaidjs.github.io/mermaid-live-editor)

Spring PetClinic - Deployment - Default

An example live deployment scenario for the Spring PetClinic software system.

Download (raw) Download (encoded) Edit at https://mermaidjs.github.io/mermaid-live-editor View at https://mermaidjs.github.io/mermaid-live-editor

graph TB
  subgraph "Database Server - Primary"
    subgraph "MySQL - Primary"
        60("<div style='background: #91d366; color: #ffffff'><b>Database</b><br /><sup>[Container]</sup><br />Stores information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
click 60 https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb "https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb"
        style 60 fill:#91d366
    end
  end
  subgraph "Database Server - Secondary"
    subgraph "MySQL - Secondary"
        66("<div style='background: #91d366; color: #ffffff'><b>Database</b><br /><sup>[Container]</sup><br />Stores information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
click 66 https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb "https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb"
        style 66 fill:#91d366
    end
  end
  subgraph "Web Server"
    subgraph "Apache Tomcat"
        55("<div style='background: #91d366; color: #ffffff'><b>Web Application</b><br /><sup>[Container]</sup><br />Allows employees to view and<br />manage information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
        style 55 fill:#91d366
    end
  end
  55-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->60
  55-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->66

(please note that this will send your diagram content to https://mermaidjs.github.io/mermaid-live-editor)

Spring PetClinic - Deployment - Default

An example development deployment scenario for the Spring PetClinic software system.

Download (raw) Download (encoded) Edit at https://mermaidjs.github.io/mermaid-live-editor View at https://mermaidjs.github.io/mermaid-live-editor

graph TB
  subgraph "Developer Laptop"
    subgraph "Docker Container - Web Server"
      subgraph "Apache Tomcat"
          40("<div style='background: #91d366; color: #ffffff'><b>Web Application</b><br /><sup>[Container]</sup><br />Allows employees to view and<br />manage information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
          style 40 fill:#91d366
      end
    end
    subgraph "Docker Container - Database Server"
      subgraph "Database Server"
          43("<div style='background: #91d366; color: #ffffff'><b>Database</b><br /><sup>[Container]</sup><br />Stores information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
click 43 https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb "https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb"
          style 43 fill:#91d366
      end
    end
  end
  40-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->43

(please note that this will send your diagram content to https://mermaidjs.github.io/mermaid-live-editor)

Spring PetClinic - Deployment - Default

An example staging deployment scenario for the Spring PetClinic software system.

Download (raw) Download (encoded) Edit at https://mermaidjs.github.io/mermaid-live-editor View at https://mermaidjs.github.io/mermaid-live-editor

graph TB
  subgraph "Staging Server"
    subgraph "MySQL"
        50("<div style='background: #91d366; color: #ffffff'><b>Database</b><br /><sup>[Container]</sup><br />Stores information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
click 50 https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb "https://github.com/spring-projects/spring-petclinic/tree/95de1d9f8bf63560915331664b27a4a75ce1f1f6/src/main/resources/db/hsqldb"
        style 50 fill:#91d366
    end
    subgraph "Apache Tomcat"
        47("<div style='background: #91d366; color: #ffffff'><b>Web Application</b><br /><sup>[Container]</sup><br />Allows employees to view and<br />manage information regarding<br />the veterinarians, the<br />clients, and their pets.</div>")
        style 47 fill:#91d366
    end
  end
  47-. "<b>Reads from and writes to</b><br /><sup>[JDBC]</sup>" .->50

(please note that this will send your diagram content to https://mermaidjs.github.io/mermaid-live-editor)