Get possible paths with BPMN.io

I’m using BPMN.io and I need to get the possible paths for a process or a subprocess. I mean, with a process Id I need the elements of that diagram.

I have to paint the tasks and sequence flows that have been reached. I have that information, but I need the path in order to check if the whole process or subprocess have been reached.

Is there any way to get that with BPMN.io?

There is no pre-built solution that offers you this feature. You’d need to implement that yourself.