add 3D graph