How to use the camunda activity instance data to overlay BPMN diagram

I found the following:

I can’t seem to find a reference for how to apply the activity instance data to the BPMN diagram even though i can retrieve the raw data from the camunda end point.

Not sure if you ever figured anything out here.
I’m going to try using the bpmn.js library.
With the XML file that you’ve retrieved, I’m actually going to use the History POST method to pull all of the activities that have activated, loop through them, and color the diagram with markers and CSS.