Exemple D2 - système d'information fictif
Apparence
Exemple D2 - système d'information fictif
Cette page montre une démonstration de D2 sur un système d'information fictif, et non sur ton serveur.
direction: right
users: Utilisateurs {
shape: person
}
internet: Internet {
shape: cloud
}
company: Entreprise Fictive Alphacorp {
shape: rectangle
hq: Siège social
dc: Datacenter principal
branch: Agence régionale
}
network: Réseau & sécurité {
fw: Pare-feu
vpn: VPN
lb: Reverse Proxy
}
apps: Applications métiers {
portal: Portail interne
crm: CRM
erp: ERP
wiki: Wiki documentaire
helpdesk: Helpdesk
}
data: Données {
db1: Base PostgreSQL
db2: Base MariaDB
storage: Stockage documentaire
backup: Sauvegarde hors site
}
ops: Exploitation {
monitoring: Supervision
logging: Centralisation logs
cicd: CI/CD
}
users -> internet: accès web
internet -> fw
fw -> vpn
fw -> lb
lb -> portal
lb -> crm
lb -> erp
lb -> wiki
lb -> helpdesk
portal -> db1
crm -> db1
erp -> db2
wiki -> storage
helpdesk -> db2
monitoring -> portal
monitoring -> crm
monitoring -> erp
logging -> portal
logging -> crm
logging -> erp
storage -> backup
hq -> dc
branch -> vpn
Usage
Le diagramme est écrit dans un bloc <pre class="oc-d2"> puis transformé en SVG par le moteur de rendu D2.