cudaGraph on multiple GPUs

Is cudaGraph specific to a GPU like creating a cudaStream? For example:

cudaSetDevice(1);
cudaGraphCreate(&handle, 0); // is this cudaGraph created on the device 1?

When adding a node to the cudaGraph, what happen if I switch to another device?

cudaSetDevice(0);
cudaGraphAddMemsetNode(…);