now supports weighted graph isolated node count