Skip to content
Graphviz (DOT) templates

Chemistry — Flame Test Colours

Characteristic flame colours of metal cations.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph FlameTests {
  rankdir=LR;
  node [shape=box, style=rounded];
  "Lithium" -> "Crimson red";
  "Sodium" -> "Yellow-orange";
  "Potassium" -> "Lilac";
  "Calcium" -> "Brick red";
  "Copper" -> "Blue-green";
  "Barium" -> "Apple green";
}