Skip to content
Graphviz (DOT) templates

Chemistry — Electrochemical Cell

Anode, cathode and ion/electron flow in a galvanic cell.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph Cell {
  rankdir=LR;
  node [shape=box, style=rounded];
  "Anode (oxidation)" -> "External circuit" [label="electrons"];
  "External circuit" -> "Cathode (reduction)";
  "Salt bridge" -> "Anode (oxidation)" [label="ions"];
  "Salt bridge" -> "Cathode (reduction)" [label="ions"];
}