Skip to content

Instantly share code, notes, and snippets.

@Mahoney
Created July 11, 2017 12:09
Show Gist options
  • Select an option

  • Save Mahoney/9eba5e3200c3686bb8cde056416b432c to your computer and use it in GitHub Desktop.

Select an option

Save Mahoney/9eba5e3200c3686bb8cde056416b432c to your computer and use it in GitHub Desktop.
Graphviz Description of British Isles - Geographic
digraph british_isles {
node [shape=rectangle,style=filled,fillcolor=lightcyan];
other[label="Other"];
england[label="Mainland\nEngland"];
wales[label="Mainland\nWales"];
scotland[label="Mainland\nScotland"];
node [shape=oval];
islands[label="Islands"];
gb[label="Great\nBritain"];
Ireland;
mona[label="Ynys Mon"];
wight[label="Isle of\nWight"];
man[label="Isle of\nMan"];
jersey[label="Jersey"];
guernsey[label="Guernsey"]
node [shape=diamond]
archipelagoes[label="Archipelagoes"];
Hebrides;
Orkney;
Shetland;
scilly[label="Scilly\nIsles"];
channel[label="Channel\nIslands"];
bi[label="These\nIsles"];
{ england wales scotland } -> gb;
{ jersey guernsey } -> channel;
{ channel man gb Ireland Hebrides Orkney Shetland scilly mona wight } -> bi;
{ rank=sink; other islands archipelagoes }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment