digraph G { A -> B [sametail="1"] A -> C [sametail="1"] A -> D [samehead="2"] C -> D [samehead="2"] B -> D }