now supports directed graph isolated node count