We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Issue with StraightLines

Aspose displays incorrect behavior when attempting to set a StraightLines connector between two shapes.
It draws the arrows unexpectedly longer. At the same time, if the file is opened manually and one of the element’s position is adjusted, the diagram is drawn correctly at once.

figure 1. without StraightLines
1.png (5.4 KB)

figure 2. with StraightLines
2.png (19.4 KB)

figure 3. with StraightLines and element’s position adjusted manually in Visio (text still misplaced)
3.jpg (27.1 KB)

@EYCisTaxTechnology,
Kindly send us your source Visio drawing and code. We will investigate and share our findings with you. Your response is awaited.

Best Regards,
Imran Rafique

Sorry for late delay.

I code and add sample input file.
At line 87 we set StraightLines and get provided results.
What code do: it convert provided svg file to visio file.sample.zip (20.0 KB)

@EYCisTaxTechnology,
We managed to replicate the said issues in our environment as below:

DIAGRAMNET-51291: Output VSDX - incorrect layout when setting the connecting lines straight
DIAGRAMNET-51292: Output VSDX - the text item of connecting lines is misplaced

We have linked your post to these tickets and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.

Best Regards,
Imran Rafique

@EYCisTaxTechnology,
The ticket IDs DIAGRAMNET-51291 and DIAGRAMNET-51292 have been resolved. If there is no issue in the quality assurance phase, then their fixes will be included in the next version 17.7 of Aspose.Diagram for .NET API. We will inform you via this forum thread as soon as the new release is published.

Best Regards,
Imran Rafique

The issues you have found earlier (filed as DIAGRAMNET-51291) have been fixed in Aspose.Diagram for .NET 17.7. This message was posted using BugNotificationTool from Downloads module by imran.rafique

Another one:
rendering fails too, when we change StraightLines to CurvedLinescurv.PNG (7.0 KB)

We managed to replicate the problem of incorrect layout of the connecting lines. It has been logged under the ticket ID DIAGRAMNET-51315 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

Best Regards,
Imran Rafique

Could you please infrom us about the approximate date of fixing issues provided below so we will be able to inform our Clients?

@EYCisTaxTechnology,
The problem logged under the ticket ID DIAGRAMNET-51315 has just been identified. It is difficult for us to share an estimate before the completion of the analysis phase. However, we have logged an ETA request under the same ticket ID DIAGRAMNET-51315 and will let you know once a significant progress has been made in this regard.

Best Regards,
Imran Rafique