make NodeSelection's ability to selected connected components work with any generic NodeHash from GraphModel