change graph nodes to points