In a few cases, we need the connectors to be colored.
However, we are getting a red colored connector only on page 1.
In the subsequent pages, the connector is black.
PFA the test case.
The attached vsdx has 2 pages- the 1st page has red color connector which is as expected.
However, the 2nd page does not have the colored connector even whne the code is executed is same for both pages.
ConnectorColorTest.zip (154.6 KB)
We managed to replicate the problem of incorrect color applied to the connecting line. It has been logged under the ticket ID DIAGRAMJAVA-50526 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.
In reference to the ticket ID DIAGRAMJAVA-50526, please add this line of code:
We will fix formula calculation defect under the ticket ID DIAGRAMJAVA-50526.
Thanks for the workaround… It is working.
The issues you have found earlier (filed as DIAGRAMJAVA-50526) have been fixed in Aspose.Diagram for Java 19.1.