Renamed vertices to nodes to be consistent