Train a graphical model by fitting it to some data generated by process A.
You get some new data, perhaps one record, perhaps more. You want to know if these data items were also generated by process A. Ideally you'd like a distribution: the probability that the data were generated by A.
I imagine you can use the posterior predictive. If the probability of the new data given the old data is low (compared to what?) then you have a strong hint that the new data comes from a different process.
Alternatively, you could fit the original model to the new data (if you have enough data) and then compare posteriors (how? KL divergence?).