Skip to content
Graphviz (DOT) templates

Branch History (Graphviz)

Commits, a feature branch and a merge.

Template previewGraphviz (DOT)
Branches c1 c1 c2 c2 c1->c2 c3 c3 c2->c3 f1 f1 c2->f1 feature c4 c4 c3->c4 f2 f2 f1->f2 f2->c4 merge c5 c5 c4->c5

What this template contains

Graph
Directed
Edges
7
Source
10 lines

Make it your own.

digraph Branches {
  rankdir=LR;
  node [shape=circle, style=filled, fillcolor="#eef4ff", fontname="Inter"];
  c1 -> c2 -> c3;
  c2 -> f1 [label="feature"];
  f1 -> f2;
  f2 -> c4 [label="merge"];
  c3 -> c4;
  c4 -> c5;
}