First of all, thank you for your much needed answer!
If I understood the example you specified correctly I would need to re-compile the entire source code again. I have already made several changes to this source code, hence my reluctance in recompiling.
Would it be possible to alter the compiled source code to achieve what I was aiming for? By using elementRegistry and such. Currently, I’m working on “BpmnUpdater.prototype.updateConnection = function(connection) {” of the source code. I’m attempting to reach elementRegistry inside this function so I can access its graphics component “(elementRegistry.getGraphics(element.id))”. I am hoping to use this to then select the graphic content I want to change, e.g., “path” “(select(“path”))” and by then changing the attribute I wish “(attr({fill: ‘green’})”.
I got this idea from this post: Set color connection