cyclegraph: refactor for indentation