implement LdpCreator.bodies_graph