support merged device graphs