Graph creation.