update 3d example to new graphxyz