Skip to content
Graphviz (DOT) templates

Carbon Cycle

Major reservoirs and fluxes of carbon across the biosphere.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph c {
  layout=neato;
  graph [bgcolor=transparent, overlap=false, splines=true];
  node [shape=box, style="rounded,filled", fontname=Inter, fontsize=10];

  Atm  [label="Atmosphere\nCO₂", fillcolor="#fef3c7", pos="0,3!"];
  Oc   [label="Ocean (surface)", fillcolor="#dbeafe", pos="-3,0!"];
  Deep [label="Deep ocean", fillcolor="#1d4ed8", fontcolor="white", pos="-3,-2.5!"];
  Plnt [label="Plants / soil", fillcolor="#dcfce7", pos="3,0!"];
  Foss [label="Fossil fuels", fillcolor="#6b7280", fontcolor="white", pos="0,-3!"];
  Sed  [label="Sediments / rocks", fillcolor="#a8a29e", pos="3,-3!"];

  Atm  -> Plnt [label="photosynthesis"];
  Plnt -> Atm  [label="respiration"];
  Atm  -> Oc   [label="diffusion"];
  Oc   -> Atm  [label="outgassing"];
  Oc   -> Deep [label="downwelling"];
  Deep -> Oc   [label="upwelling"];
  Plnt -> Sed  [label="burial"];
  Foss -> Atm  [label="combustion", color="#dc2626", penwidth=2];
  Sed  -> Foss [label="diagenesis", style=dashed];
}