vars: {
d2-config: {
theme-id: neutral-default
layout-engine: tala
pad: 10
}
styles: {
customer: {
stroke: "#2B8700"
font-color: "#2B8700"
stroke-width: 3
}
internet_banking: {
stroke: "#1670C5"
font-color: "#1670C5"
stroke-width: 3
}
email_service: {
stroke: "#C8102E"
font-color: "#C8102E"
stroke-width: 3
}
core_banking: {
stroke: "#F08000"
font-color: "#F08000"
stroke-width: 3
}
relationship: {
stroke: "#444444"
stroke-dash: 5
}
}
d2-legend: {
customer: "Person, Customer" {
shape: c4-person
style: {
...${styles.customer}
}
}
internet_banking: "Internet Banking System" {
shape: rectangle
style: {
...${styles.internet_banking}
}
}
email_service: "Amazon Web Services Simple Email Service" {
shape: rectangle
style: {
...${styles.email_service}
}
}
core_banking: "Core Banking System" {
shape: rectangle
style: {
...${styles.core_banking}
}
}
relationship_from -> relationship_to: "Relationship" {
style: {
...${styles.relationship}
}
}
relationship_from.style.opacity: 0
relationship_to.style.opacity: 0
}
}
customer: |md
## Personal Banking Customer
[Person]
A customer of the bank with one
or more personal bank accounts.
| {
shape: c4-person
style: {
...${styles.customer}
}
}
internet_banking: |md
## Internet Banking System
[Software System]
Allows customers to view
information about their bank
accounts and make payments via
the web.
| {
shape: rectangle
style: {
...${styles.internet_banking}
}
}
ses: |md
## Amazon Web Services Simple Email Service
[Software System]
Cloud-based email service provider.
| {
shape: rectangle
style: {
...${styles.email_service}
}
}
core_banking: |md
## Core Banking System
[Software System]
Handles core banking functions
including customer information,
bank account management,
transactions, etc.
| {
shape: rectangle
style: {
...${styles.core_banking}
}
}
customer -> internet_banking: "Views account balances and\nmakes payments using" {
style: {
...${styles.relationship}
}
}
ses -> customer: "Sends e-mails to" {
style: {
...${styles.relationship}
}
}
internet_banking -> ses: "Sends e-mails to customers\nusing" {
style: {
...${styles.relationship}
}
}
internet_banking -> core_banking: "Gets bank account\ninformation from and makes\npayments using" {
style: {
...${styles.relationship}
}
}