setEdge onComplete arguments corrected