got the waypointgraph constructor finished