Move algorithms to GraphOps