When adding a shape to a page in a diagram, the geoms attribute of the shape is an empty list in version > 20.3.0.
In previous version it is an array with 1 element.
This prevents us to change the CoordinateCol of the geoms which stops us from modifying it effectively.
If we add a Geom object to the empty Geoms List, we end up with 2 objects drawn on the Visio diagram.
To test the code, chose the library version you want to test using the NuGet package manager and start the project.
The sensitive code is surrounded in a try catch displaying if there is an error.
Be sure to test a version before 20.4.0 and one after 20.3.0 to see the bug manifesting.
We have tested with the last version and are able to reproduce the issue
Here is some code with more details : TestAspose.zip (6.2 MB)