echo 'digraph { "Canada" -> "Cuba" [taillabel = "Friend of"] "Prussia" -> "Cuba" [taillabel = "Friend of"] "Germany" -> "Prussia" [taillabel = "Brother of"] "Spain" -> "Prussia" [taillabel = "Friend of"] }' | dot -Tsvg > output.svg