First version of a DiGraph with edges that have a type attribute
associated.