Hello,
I want to remove the ‘X’ mark which is inside of an exclusive gateway. I want to make that gateway just look like a triangle with nothing embedded inside of it. How can I do that in REACT?
Hello,
I want to remove the ‘X’ mark which is inside of an exclusive gateway. I want to make that gateway just look like a triangle with nothing embedded inside of it. How can I do that in REACT?
Refer to this.
Following this guide, and you need custom drawShape function to remove ‘X’
drawShape(parentNode: SVGElement, element: Shape): SVGElement {
const shape = this.bpmnRenderer.drawShape(parentNode, element);
// because 'X' is child of parentNode, remove it
while (parentNode.firstChild) {
parentNode.removeChild(parentNode.firstChild);
}
return shape;
}