Skip to content
Graphviz (DOT) templates

Chemistry — Formation of Fossil Fuels

How coal, oil and gas form over time.

Template previewGraphviz (DOT)
FossilFuels Dead organisms Dead organisms Buried, no oxygen Buried, no oxygen Dead organisms->Buried, no oxygen Heat + pressure over millions of years Heat + pressure over millions of years Buried, no oxygen->Heat + pressure over millions of years Coal (plants) Coal (plants) Heat + pressure over millions of years->Coal (plants) Oil & gas (plankton) Oil & gas (plankton) Heat + pressure over millions of years->Oil & gas (plankton)

What this template contains

Graph
Directed
Edges
4
Source
8 lines

Make it your own.

digraph FossilFuels {
  rankdir=LR;
  node [shape=box, style=rounded];
  "Dead organisms" -> "Buried, no oxygen";
  "Buried, no oxygen" -> "Heat + pressure over millions of years";
  "Heat + pressure over millions of years" -> "Coal (plants)";
  "Heat + pressure over millions of years" -> "Oil & gas (plankton)";
}