Skip to content
Graphviz (DOT) templates

Microservices Topology

Service-to-service call graph with synchronous and async edges.

Template previewGraphviz (DOT)
G Gateway Gateway Auth Auth Gateway->Auth Catalogue Catalogue Gateway->Catalogue Orders Orders Gateway->Orders Inventory Inventory Orders->Inventory Payments Payments Orders->Payments Notifications Notifications Orders->Notifications async Warehouse Warehouse Inventory->Warehouse Ledger Ledger Payments->Ledger

What this template contains

Graph
Directed
Edges
8
Source
16 lines

When to use it

Choose this to discuss service-to-service communication and distinguish synchronous calls from asynchronous messaging. Review edge meanings and ownership boundaries before adding every endpoint to the same picture. Compare it in software architecture diagram templates

Make it your own.

digraph G {
  rankdir=LR;
  graph [bgcolor=transparent, fontname=Inter];
  node [shape=box, style="rounded,filled", fontname=Inter, fontsize=11, fillcolor="#dbeafe", color="#3666ff"];
  edge [fontname=Inter, fontsize=9, color="#475569"];

  Gateway -> Auth;
  Gateway -> Catalogue;
  Gateway -> Orders;
  Orders -> Inventory;
  Orders -> Payments;
  Orders -> Notifications [style=dashed, label=async];
  Payments -> Ledger;
  Inventory -> Warehouse;
  { rank=same; Auth Catalogue }
  { rank=same; Inventory Payments Notifications }
}