System Design Graphviz Example

A Graphviz example showing how to draw a system architecture diagram with digraph, node shapes (cylinder for databases, rarrow for a queue) and labelled edges.

Each service is a node and each call is a directed edge (->). Databases use shape=cylinder, the message queue uses shape=rarrow, and edges carry labels like sendMessage to describe the interaction. Because it is a digraph, Graphviz lays the services out top-to-bottom automatically, so you only describe *what talks to what* and let the DOT engine handle positioning.