digraph dadlovesmum {
   rankdir="TB";
    "dad" -> "mum" [label="loves"];
    "mum" -> "dad" [label="loves"];
    "kid" -> "mum" [label="loves"];
    "kid" -> "dad" [label="loves"];
    "kid" -> "granny" [label="likes"];
    "granny" -> "dad" [label="hates"];
  }