Last updated
Was this helpful?
Last updated
Was this helpful?
Architecture diagrams help you visualize relationships between services and resources in your data infrastructure. They're particularly useful for documenting cloud deployments, data pipelines, and system integrations. You can group related services together and show how different components connect and interact.
From the Code IDE, Click Apps and Agents from the lefthand panel
Select Mermaid. Paradime will automatically start a new mermaid project
In the terminal that appears, use the arrow keys to select "Architecture Diagrams"
A new architecture.mmd
file will be created in your editor with this starter template:
Click the eye icon (👁️) in the top right corner of your Mermaid file to preview the diagram
[screenshot]
Edit and update your .mmd
file as needed - the preview will update automatically
Groups: Container for related services
Services: Individual components
Edges: Connections between services
Groups
Create a group with:
Add services to a group using in
:
Services
Define services with:
Available icons:
cloud
database
disk
internet
server
Connections
Connect services using edges:
Direction options: T(top), B(bottom), L(left), R(right)
Arrow types: -->, --, <--
Group related services logically
Use clear, descriptive labels
Keep connections simple and readable
Use consistent naming conventions
Add appropriate icons for services
For more syntax options and advanced features, visit the
architecture-beta
group api(cloud)[API]
service db(database)[Database] in api
service disk1(disk)[Storage] in api
service disk2(disk)[Storage] in api
service server(server)[Server] in api
db:L -- R:server
disk1:T -- B:server
disk2:T -- B:db
group data_warehouse(cloud)[Data Warehouse]
service analytics_db(database)[Analytics DB]
db:R -- L:server # Right of db to Left of server
group {group_id}({icon})[{label}]
service my_service(database)[My Service] in my_group
service {service_id}({icon})[{label}]
architecture-beta
group warehouse(cloud)[Data Warehouse]
service raw(database)[Raw Data] in warehouse
service processed(database)[Processed Data] in warehouse
group analytics(cloud)[Analytics]
service bi(server)[BI Tool] in analytics
raw:R --> L:processed
processed:R --> L:bi
architecture-beta
service source(database)[Source DB]
group transform(cloud)[Transform]
service etl(server)[ETL Service] in transform
service target(database)[Target DB]
source:R --> L:etl
etl:R --> L:target