Skip to content
Graphviz (DOT) templates

Physics — Electrical Quantities

How charge, current, voltage, resistance and power relate.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph Electricity {
  rankdir=LR;
  node [shape=box, style=rounded];
  "Charge (Q)" -> "Current (I = Q/t)";
  "Current (I)" -> "Voltage (V = IR)";
  "Voltage (V)" -> "Power (P = VI)";
  "Resistance (R)" -> "Voltage (V = IR)";
  "Power (P)" -> "Energy (E = Pt)";
}