Skip to content
Graphviz (DOT) templates

Code Dependency Graph

Module dependency layout — useful for understanding a codebase.

Template previewGraphviz (DOT)
deps ui ui components components ui->components store store ui->store components->store utils utils components->utils api api store->api http http utils->http api->http auth auth api->auth auth->http

What this template contains

Graph
Directed
Edges
9
Source
14 lines

Make it your own.

digraph deps {
  rankdir=LR;
  graph [bgcolor=transparent];
  node [shape=box, style=rounded, fontname=Inter, fontsize=11];

  ui -> components;
  ui -> store;
  components -> store;
  components -> utils;
  store -> api;
  api -> http;
  api -> auth;
  auth -> http;
  utils -> http;
}