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

Free Support Forum - aspose.com

Visio flowchart connectors not connecting properly

Hi,

In reference to the original thread:

Linked ticket IDs:
DIAGRAMJAVA-50483,DIAGRAMJAVA-50484,DIAGRAMJAVA-50485,DIAGRAMJAVA-50486,DIAGRAMJAVA-50490,DIAGRAMJAVA-50494,DIAGRAMJAVA-50495,DIAGRAMJAVA-50496,DIAGRAMJAVA-50497,DIAGRAMJAVA-50498


This Topic is created by imran.rafique using the Email to Eopic plugin.

Hi Astha,

We have linked all above tickets to this new thread and will keep you informed regarding any available updates. The ticket ID DIAGRAMJAVA-50483 has been resolved. If there is no issue in the quality assurance phase, then this fix will be included in the next version 17.7 of Aspose.Diagram for Java API. We will notify you as soon as the new release is published.

@asthac,
Thank you for being patient. The ticket ID DIAGRAMJAVA-50498 has been resolved. If there is no issue in the quality assurance phase, then this fix will be included in the next version 17.7 of Aspose.Diagram for Java API. We will notify you as soon as the new release is published.

Best Regards,
Imran Rafique

@asthac,
Thank you for being patient. In reference to the ticket IDs DIAGRAMJAVA-50483 and DIAGRAMJAVA-50490, please download and try the latest Hotfix version 17.6.1 of Aspose.Diagram for Java API (download link: Aspose.Diagram for Java 17.6.1) and let us know how that goes on your side.

Best Regards,
Imran Rafique

@imran.rafique
Thanks for the hotfix.

Below are the results-
DIAGRAMJAVA-50490 is not fixed.
The fixed size predefined process shape still has thick borders/highly crunched side bars. PFA test case.
PredefinedProcessShapeFixed.zip (152.1 KB)

DIAGRAMJAVA-50483
The original connector problem reported for this issue is fixed, however, there seems to be another connector problem in this hotfix which may or may not be due to this fix.
Please check.
PFA test case.
InvalidConnectionInHotFix.zip (152.5 KB)

Thanks.

@asthac,
Thank you for the details. We have logged tickets in our bug tracking system as below:

DIAGRAMJAVA-50514: Output VSDX - vertical border lines of the predefined process box are thick
DIAGRAMJAVA-50513: Output VSDX - an additional line of connector inside the decision shape

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

Best Regards,
Imran Rafique

@asthac,
In reference to the ticket ID DIAGRAMJAVA-50514, please call refreshData method of the shape instance, after changing the shape’s text as below:

[Java]

private static long createShape(Diagram diagram, int pageNumber, String shapeType, double pinX, double localPinY, double width, double height, String shapeText) throws Exception
{
    long shapeId = diagram.addShape(pinX, pinY, width, height, shapeType, pageNumber);
    Shape shape = diagram.getPages().getPage(pageNumber).getShapes().getShape(shapeId);
    shape.getText().getValue().add(new Txt(shapeText));
    shape.setName(shapeText);

    //add this code line after chaging shape's text
    shape.refreshData();

    pinY = pinY - 2;
    return shapeId;
}

@imran.rafique
The above change works in the hotfix version 17.6.1.
(Not in released version 17.6.0)

@asthac,
We have published the new version 17.7 of Aspose.Diagram for Java API and you can download and try this latest version. Please note, we do not provide fixes in the version of Aspose.Diagram API.

Best Regards,
Imran Rafique

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

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

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

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

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

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

@asthac,
The linked ticket ID DIAGRAMJAVA-50485 has been fixed. Please download and try the new version 17.9 of Aspose.Diagram for Java API.