Separators may have incorrect relationship data?

Hi,

Attached is an example Visio file and all the code is in Java.

Sorry if I’m misunderstanding this, but it appears as though some separator shapes have incorrect relationship data in them. From the example below it appears as though all separators in the attached Visio file are related to the container with id: 5, when in fact I believe two of them should be related to container with id: 5 and the last one should be related to container with id: 20. Hopefully that makes sense.

//Values hard coded for simplicities sake
ShapeCollection shapeCollection = vsdxDiagram.getPages().get(0).getShapes();
Shape separatorOne = shapeCollection.get(7);
Shape separatorTwo = shapeCollection.get(8);
Shape separatorThree = shapeCollection.get(10);
System.out.println("Separator One’s relationships: " + separatorOne.getLayout().getRelationships().getUfe().getF());
System.out.println("Separator Two’s relationships: " + separatorTwo.getLayout().getRelationships().getUfe().getF());
System.out.println("Separator Three’s relationships: " + separatorThree.getLayout().getRelationships().getUfe().getF());

Output:
Separator One’s relationships: SUM(DEPENDSON(5,Sheet.9!SheetRef()))
Separator Two’s relationships: SUM(DEPENDSON(5,Sheet.9!SheetRef()))
Separator Three’s relationships: SUM(DEPENDSON(5,Sheet.24!SheetRef()))

Expected:
Separator One’s relationships: SUM(DEPENDSON(5,Sheet.9!SheetRef()))
Separator Two’s relationships: SUM(DEPENDSON(5,Sheet.9!SheetRef()))
Separator Three’s relationships: SUM(DEPENDSON(20,Sheet.24!SheetRef()))<a class=“attachment”

href="/uploads/default/69908">Separators_Example.zip (43.5 KB)

@trevor.hensel
Please share your sample stencil and files for our reference so that we can test the scenario in our environment and address it accordingly.
We are sorry for the inconvenience.
Thanks.

Separators_Example.zip (43.5 KB)

@trevor.hensel
Please check the Relationships of the corresponding shape on the visio interface. In vsdx, SheetRef stores the id of the shape, and we return the value stored in the visio filerelationships.PNG (6.5 KB)

We are sorry for the inconvenience.
Thanks.

Thank you for the clarification!

@trevor.hensel
Welcome, if you have any questions, please feel free to ask.
Or visit our documentation and product pages.

Thanks.