I create a diagram object and save as PNG,but the connect line not in the image

I create a diagram object and save as PNG,but the connect line not in the image.

@zhangxiaoxian777

Could you please share your sample Diagram for our reference along with the code snippet that you are using? We will test the scenario in our environment and address it accordingly.