Graph links PEP-8 optimisation