added initial attempt to digraph