Skip to content

Instantly share code, notes, and snippets.

@joakime
Created March 12, 2013 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joakime/5142852 to your computer and use it in GitHub Desktop.
Save joakime/5142852 to your computer and use it in GitHub Desktop.
GraphViz Graph of Forestry (Minecraft Mod) Tree Mutations.
/*
* GraphViz Graph of Forestry (Minecraft Plugin) Tree Mutations.
*
* GraphViz: http://graphviz.org/
* Forestry Plugin by Sengir: http://forestry.sengir.net/
*
* To Generate Graph:
* $ dot -Tpng -Goverlap=false -o trees.png trees.dot
*/
digraph trees {
node [color=grey, style=filled];
node [fontname="Verdana", size="30,30"];
graph [
fontname="Verdana",
fontsize = 36,
rankdir = TB,
style = bold,
label = "\nForestry (Minecraft) Plugin Tree Mutations",
ssize = "30,60"
];
/* Species */
/* Basic Trees */
node [ color = "lightblue" ];
oak [ label="Apple Oak"];
birch [ label="Silver Birch"];
spruce [ label="Red Spruce"];
jungle [ label="Jungle"];
/* Mutated Trees */
node [ color = "darkseagreen" ];
pine [ label="Bull Pine"];
lime [ label="Silver Lime"];
chestnut [ label="Sweet Chestnut"];
walnut [ label="Common Walnut"];
cherry [ label="Cherry"];
larch [ label="Mundane Larch"];
sequioa [ label="Sequioa"];
teak [ label="Teak"];
kapok [ label="Kapok"];
ebony [ label="Ebony"];
mahogany [ label="Yellow Meranti"];
acacia [ label="Desert Acacia"];
balsa [ label="Balsa"];
wenge [ label="Wenge"];
baobab [ label="Grandidier's Baobab"];
willow [ label="White Willow"];
sipiri [ label="Sipiri"];
/* Mystery Trees */
node [ color = "lightgrey" ];
palm [ label="Palm"];
boojum [ label="Boojum"];
/* Mutations */
node [ shape=diamond, style=filled, height=.1, width=.1, color=coral3];
m_lime [ label="" ];
m_lime -> lime;
birch -> m_lime;
oak -> m_lime;
m_walnut [ label="" ];
m_walnut -> walnut;
lime -> m_walnut;
cherry -> m_walnut;
m_chestnut1 [ label="" ];
m_chestnut1 -> chestnut;
walnut -> m_chestnut1;
lime -> m_chestnut1;
m_chestnut2 [ label="" ];
m_chestnut2 -> chestnut;
walnut -> m_chestnut2;
cherry -> m_chestnut2;
m_cherry1 [ label="" ];
m_cherry1 -> cherry;
lime -> m_cherry1;
oak -> m_cherry1;
m_cherry2 [ label="" ];
m_cherry2 -> cherry;
lime -> m_cherry2;
birch -> m_cherry2;
m_larch1 [ label="" ];
m_larch1 -> larch;
spruce -> m_larch1;
birch -> m_larch1;
m_larch2 [ label="" ];
m_larch2 -> larch;
spruce -> m_larch2;
oak -> m_larch2;
m_pine [ label="" ];
m_pine -> pine;
spruce -> m_pine;
larch -> m_pine;
m_sequioa [ label="" ];
m_sequioa -> sequioa;
larch -> m_sequioa;
pine -> m_sequioa;
m_teak [ label="" ];
m_teak -> teak;
lime -> m_teak;
jungle -> m_teak;
m_kapok [ label="" ];
m_kapok -> kapok;
jungle -> m_kapok;
teak -> m_kapok;
m_ebony [ label="" ];
m_ebony -> ebony;
kapok -> m_ebony;
teak -> m_ebony;
m_mahogany [ label="" ];
m_mahogany -> mahogany;
kapok -> m_mahogany;
ebony -> m_mahogany;
m_acacia [ label="" ];
m_acacia -> acacia;
teak -> m_acacia;
balsa -> m_acacia;
m_balsa [ label="" ];
m_balsa -> balsa;
teak -> m_balsa;
lime -> m_balsa;
m_wenge [ label="" ];
m_wenge -> wenge;
acacia -> m_wenge;
balsa -> m_wenge;
m_baobab [ label="" ];
m_baobab -> baobab;
balsa -> m_baobab;
wenge -> m_baobab;
m_willow1 [ label="icy/wet" ];
m_willow1 -> willow;
oak -> m_willow1;
birch -> m_willow1;
m_willow2 [ label="icy/wet" ];
m_willow2 -> willow;
oak -> m_willow2;
lime -> m_willow2;
m_willow3 [ label="icy/wet" ];
m_willow3 -> willow;
lime -> m_willow3;
birch -> m_willow3;
m_sipiri [ label="cold/wet" ];
m_sipiri -> sipiri;
kapok -> m_sipiri;
mahogany -> m_sipiri;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment