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 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.