r746: in the API example, do graph cleaning