What is the fastest way to change the connection line style of `bpmn:DataOutputAssociation` to the Manhattan layout?

default line style is a straightline when connect dataObject and Task.
my expectation is draw it just like when I connect between Tasks.
I know there is a way that I can code my own customUpdater like

this.preExecute('connection.create', xxxFunc)

but is there any faster (or more elegant) way to resolve this? thanks

The way to do this would be to implement a custom renderer that overrides the style of the connection.

yea, thanks Im doing this way now, but I wonder if there are any official way or configuration params

The way to change the connection layout is via a custom layouter. You could build that based on the BpmnLayouter.

If you need help, please share a running / prototypical example that clearly shows what you’re trying to achieve, what is working and what is not.

Use our existing starter projects to quickly hack it or share your existing, partial solution on GitHub or via a CodeSandbox. Provide the necessary pointers that allow us to quickly understand where you got stuck.

This way we may be able to help you in a constructive manner.

Thanks :heart:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.