Skip to content
Graphviz (DOT) templates

Hemodialysis Machine Flow

Blood + dialysate circuits across a hemodialysis machine.

Template previewGraphviz (DOT)
hd Pat Patient AV fistula Pmp Blood pump 300-400 mL/min Pat->Pmp blood return Hep Heparin pump Pmp->Hep blood return Dr Drip chamber (air detector) Hep->Dr blood return Dial Dialyser (hollow-fibre) Dr->Dial blood return Ven Venous chamber Dial->Ven blood return D2 Dialysate outlet → drain Dial->D2 counter-current Ven->Pat blood return D1 Dialysate inlet D1->Dial counter-current

What this template contains

Graph
Directed
Edges
8
Source
15 lines

Make it your own.

digraph hd {
  rankdir=LR;
  graph [bgcolor=transparent];
  node [shape=box, style="rounded,filled", fontname=Inter, fontsize=10];

  Pat [label="Patient\nAV fistula", fillcolor="#fee2e2"];
  Pmp [label="Blood pump\n300-400 mL/min", fillcolor="#dbeafe"];
  Hep [label="Heparin pump"];
  Dr [label="Drip chamber\n(air detector)"];
  Dial [label="Dialyser\n(hollow-fibre)", fillcolor="#fef3c7"];
  Ven [label="Venous chamber"];
  D1 [label="Dialysate inlet"];
  D2 [label="Dialysate outlet → drain"];

  Pat -> Pmp -> Hep -> Dr -> Dial -> Ven -> Pat [label="blood return"];
  D1 -> Dial -> D2 [label="counter-current"];
}