digraph G { rankdir=LR; node [shape=record]; a [ label =" Graphs can\lbe fun\l| mid| right"]; b [ label =" | b | " ]; c [ label =" | c | " ]; x [ label =" | x | " ]; y [ label =" | y | " ]; z [ label =" | z | " ]; a:bala -> b:left; a:f1 -> d; a:f2 -> y:"p1"; c:"p1" -> d; b:mid -> x:"p1"; c:"p2" -> y:"p2"; b:left -> z:"p2"; }