I need to change the color of each element to this.
And change the lines that have been executed into this.
How do I do that?
Thank you
I need to change the color of each element to this.
And change the lines that have been executed into this.
How do I do that?
Thank you
The modeling API allows you to change an elements color:
modeling.setColor(myElement, {
fill: 'blue',
stroke: 'red'
});
I can’t get modeling.
The plug-in I use is “bpmn-js/lib/NavigatedViewer.js”
My code
this.viewer = new Modeler({
container: this.$refs.diagramCanvas
});
this.modeling= this.viewer.get('modeling');