How to customize the style path of the connection?

Hi, the original path style doesn’t suit my needs, I want to make it more smooth as shown in the picture. How can I do this? Thank you for your help!

I read the source code, it is possible to achieve by rewrite the function “drawConnection” of BaseRender. But I need to re-define the maker too if I rewrite the “drawConnection”. I wonder if there is any other better way to do it?

6405ac995306f86d75983f5b283c3dd2

To achieve that you need a custom renderer that renders connections in that style. You could use SVG <path> elements to achieve that. Have a look at this simple example: Rounded Sequence Flows Example - CodeSandbox

It’s not finished but you could use it as a starting point.