Skip to content
Graphviz (DOT) templates

Biology — Food Chain

A simple linear food chain with trophic roles.

Template previewGraphviz (DOT)
FoodChain Producer (plant) Producer (plant) Herbivore Herbivore Producer (plant)->Herbivore Carnivore Carnivore Herbivore->Carnivore Top predator Top predator Carnivore->Top predator

What this template contains

Graph
Directed
Edges
3
Source
7 lines

Make it your own.

digraph FoodChain {
  rankdir=LR;
  node [shape=box, style=rounded];
  "Producer (plant)" -> "Herbivore";
  "Herbivore" -> "Carnivore";
  "Carnivore" -> "Top predator";
}