Graphs layout improvments