The current API for creating graphs is straightforward, but verbose. Explore ways to streamline creating graphs.