fix bug with display of digraph