How to compare two bpmn process?

I want to compare whether two bpmn xml file has the same content including the tasks, the sequence, the locations etc. Is there any API to get this?

You can try using the bpmn.io diffing tool for a quick comparison.
https://demo.bpmn.io/diff

1 Like

@Niall thx ~

Sorry to bother u again. How can I integrate the diff tool into my system? Api or source code?

You can take a look at the github repo

got it. thx~

Do you guys know how to get the full source code of BPMN model diffing | demo.bpmn.io?

Hi @lucascalsilva ,

while it is not well documented, you can find it here:

One is the visual diffing, the other the JS library to diff on an XML level.