I have flow like this. There are 2 diagonal elements that are connected.
I use
modeling.connect(source, target);
but the last element of first row, and the first element of second row, connects in different way. The connection line is behind the other elements, i drew red circles over the connection line.
How can I fix this? it should not overlap any other element.