graph visualisation changed to returnig layouts