Improvements to graph code quality and aesthetics