graph API: eliminate unnecessary indentation