How do I create a graph