Skip to content
Graphviz (DOT) templates

Hematopoietic Cell Lineage

Blood-cell lineage from HSC through committed progenitors to mature cells.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph hema {
  rankdir=TB;
  graph [bgcolor=transparent];
  node [shape=ellipse, style=filled, fontname=Inter, fontsize=10];

  HSC [label="Hematopoietic stem cell", fillcolor="#fce7f3"];
  MPP [label="Multipotent progenitor", fillcolor="#dbeafe"];
  CMP [label="Common myeloid", fillcolor="#dbeafe"];
  CLP [label="Common lymphoid", fillcolor="#dbeafe"];

  Mk  [label="Megakaryocyte → Platelets", fillcolor="#dcfce7"];
  Ery [label="Erythrocytes (RBC)", fillcolor="#fee2e2"];
  Gran [label="Granulocytes\n(neutro, eosino, baso)", fillcolor="#fef3c7"];
  Mono [label="Monocyte → Macrophage / DC", fillcolor="#fef3c7"];

  T [label="T lymphocyte", fillcolor="#ede9fe"];
  B [label="B lymphocyte", fillcolor="#ede9fe"];
  NK [label="NK cell", fillcolor="#ede9fe"];

  HSC -> MPP -> CMP;
  MPP -> CLP;
  CMP -> Mk; CMP -> Ery; CMP -> Gran; CMP -> Mono;
  CLP -> T; CLP -> B; CLP -> NK;
}