added graph layout customization features and other minor improvements