Skip to content
Graphviz (DOT) templates

Retrosynthesis Tree

Retrosynthetic disconnections from a target molecule to commercial precursors.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph retro {
  rankdir=TB;
  graph [bgcolor=transparent];
  node [shape=box, style="rounded,filled", fontname=Inter, fontsize=10];

  Target [label="Target:\nibuprofen", fillcolor="#fce7f3"];
  S1 [label="Isobutylbenzene\n+ acyl Friedel-Crafts", fillcolor="#dbeafe"];
  S2 [label="Aryl ketone\nintermediate", fillcolor="#dbeafe"];
  P1 [label="Isobutylbenzene\n(commercial)", fillcolor="#dcfce7"];
  P2 [label="Acetyl chloride\n(commercial)", fillcolor="#dcfce7"];
  P3 [label="Sodium cyanide\n(commercial)", fillcolor="#dcfce7"];

  Target -> S1 [label="α-methylation"];
  S1 -> S2 [label="acylation"];
  S2 -> P1;
  S2 -> P2;
  Target -> P3 [label="C-C bond"];
}