Skip to content
Graphviz (DOT) templates

Hematopoietic Cell Lineage

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

Template previewGraphviz (DOT)
hema HSC Hematopoietic stem cell MPP Multipotent progenitor HSC->MPP CMP Common myeloid MPP->CMP CLP Common lymphoid MPP->CLP Mk Megakaryocyte → Platelets CMP->Mk Ery Erythrocytes (RBC) CMP->Ery Gran Granulocytes (neutro, eosino, baso) CMP->Gran Mono Monocyte → Macrophage / DC CMP->Mono T T lymphocyte CLP->T B B lymphocyte CLP->B NK NK cell CLP->NK

What this template contains

Graph
Directed
Edges
10
Source
20 lines

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;
}