Improved graph layout