Create graph