Hello,
I would like to be able to render connections without a head - as a line so to say.
Like this:
Currently I am coloring my flows as custom entry in the Replace Menu like this:
export function getEntries(element, modeling) {
return {
black: {
className: 'bpmn-icon-connection-black',
label: 'Black Flow',
action: () => {
modeling.setColor(element, {stroke: 'black'});
}
},
yellow: {
className: 'bpmn-icon-connection-yellow',
label: 'Yellow Flow',
action: () => {
modeling.setColor(element, {stroke: '#ffb300', fill: 'white'});
}
}
}
}
I tried to change the color of “fill” to “none” or “white” but it seems like that’s the wrong attribute as nothing changes.
Can you tell me what attribute I can use to color the tip of the connection arrow or if there is a way to completely remove it?
Thanks in advance!