Skip to content

Instantly share code, notes, and snippets.

@Mahoney
Last active February 28, 2020 16:08
Show Gist options
  • Select an option

  • Save Mahoney/823a54f669a35f6ec4273babb3274803 to your computer and use it in GitHub Desktop.

Select an option

Save Mahoney/823a54f669a35f6ec4273babb3274803 to your computer and use it in GitHub Desktop.
Graphviz Description of These Isles - Mixed Geographic & Political
digraph these_isles {
node [shape=rectangle,style=filled,fillcolor=lightcyan];
label1[label="Geographic\nTerms"];
"Mainland\nEngland";
"Mainland\nWales";
"Mainland\nScotland";
node [shape=oval]
gb[label="Great\nBritain"];
Ireland;
mona[label="Ynys Mon"];
wight[label="Isle of\nWight"];
node [shape=diamond]
Hebrides;
Orkney;
Shetland;
scilly[label="Scilly\nIsles"];
channel[label="Channel\nIslands"];
bi[label="These\nIsles"];
node [shape=circle,style=filled,fillcolor= seagreen2];
label2[label="Mixed\nTerms"];
jersey[label="Bailiwick\nof\nJersey"];
man[label="Isle of\nMan"];
node [shape=rectangle,style=filled,fillcolor=lightpink];
label3[label="Political\nTerms"];
uk[label="United\nKingdom"];
ni[label="Northern\nIreland"];
ireland[label="Ireland"];
crown_deps[label="Crown\nDependencies"];
guernsey[label="Bailiwick\nof\nGuernsey"];
{ "British\nIslands" Ireland } -> bi;
{ Scotland England Wales ni } -> uk;
{ ni ireland } -> Ireland;
{ jersey guernsey } -> channel;
{ channel man } -> crown_deps;
{ uk crown_deps } -> "British\nIslands";
gb -> uk;
"Mainland\nScotland" -> { gb Scotland };
{ Hebrides Orkney Shetland } -> Scotland;
"Mainland\nWales" -> { gb Wales };
mona -> Wales;
"Mainland\nEngland" -> { gb England };
{ wight scilly } -> England;
{ rank=sink; label1 label2 label3 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment