single graph setup