echo 'digraph { "Austria" -> "Hungary" [taillabel = "Former wife of"] "Prussia" -> "Hungary" [taillabel = "Childhood friend of"] "Germany" -> "Prussia" [taillabel = "Brother of"] "Spain" -> "Prussia" [taillabel = "Friend of#"] "Germany" -> "Austria" [taillabel = "Neighbor of"] }' | dot -Tsvg > output.svg