graph: rolled back the changes, since they break something with boost 1.55