added ivisualize to directed graph