Issue with grouped shapes

Hello Support Team!
After opening and saving a diagram using Aspose.Diagram grouped shapes behave incorrectly. This can be verified in the attached example - when you open “original.vsdx” file and try to resize a shape, you can see that all grouped shapes are scaled correctly, but when you open diagram saved using Aspose and resize a shape, you can see that the group is scaled incorrectly.

Kind regards,
Piotr Elfinger
AsposeGrouping.zip (273,4 KB)

@elsep

Hello Piotr,

Thank you for reaching out! It sounds like you’re experiencing issues with grouped shapes after saving a diagram using Aspose.Diagram. This can occur due to how the library handles the properties of grouped shapes during the save process.

Cause: The problem may stem from the way grouped shapes’ properties are managed when saving the diagram.

Solution: Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Check for Updates: Ensure you are using the latest version of Aspose.Diagram. Bugs are often fixed in newer releases, so updating might resolve your issue.

  2. Review Group Properties: When saving the diagram, verify that the properties of the grouped shapes (like resize behavior) are being preserved. Explicitly setting these properties before saving may help.

  3. Test with Different Formats: Try saving the diagram in various formats (like VSD, VSDX, etc.) to determine if the issue persists across formats.

  4. Simplify the Diagram: If possible, create a simplified version of your diagram with just the grouped shapes and check if the issue still occurs. This can help isolate the problem.

  5. Contact Support: If the issue persists, reach out to Aspose support with your specific diagram file and details about the behavior you’re observing. They may provide more targeted assistance.

Next Steps: Please try the above steps and let me know if they help resolve the issue. If you continue to experience problems, I am here to assist you further.

Best regards!

  1. I used latest aspose library
  2. I just opened and saved, nothing more
  3. It has to be saved in the same format as it was opened
  4. It is already very simple.

@elsep
Thanks for the template file and project.
We reproduced the problems you mentioned by converting your template VSDX file to VSDX.
We need to evaluate your issue in details.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DIAGRAMNET-53789

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like