Basic Diagram
A simple three-tier web application with a frontend, API, and database.
# Simple Web Application
node id="user" title="User" shape="person"
group id="app" title="Application" { node id="web" title="Web App" icon="https://cdn.simpleicons.org/react" shape="browser" { React SPA TypeScript } node id="api" title="API Server" icon="https://cdn.simpleicons.org/nodedotjs" shape="server" { Express.js REST API }}
group id="data" title="Data Layer" { node id="db" title="PostgreSQL" icon="https://cdn.simpleicons.org/postgresql" shape="cylinder" { Users Sessions } node id="cache" title="Redis" icon="https://cdn.simpleicons.org/redis" shape="cylinder" { Session Cache Rate Limits }}
edge from="user" to="web" label="HTTPS"edge from="web" to="api" label="REST"edge from="api" to="db" label="SQL"edge from="api" to="cache" label="Cache" style="dashed"What This Shows
Section titled “What This Shows”- Nodes with different shapes:
person,browser,server,cylinder - Groups for logical organization
- Content blocks listing details inside nodes
- Icons from Simple Icons CDN
- Edges with labels and styles (
dashedfor optional connections)
Try It
Section titled “Try It”Copy the code above and paste it into the Topolix editor to see it rendered interactively.