DSD-DBS / py-capellambse

A Python 3 headless implementation of the Capella modeling tool.
https://dsd-dbs.github.io/py-capellambse/
Apache License 2.0
50 stars 8 forks source link

Diagram UUID inconsistent with Capella GUI #388

Closed Wuestengecko closed 3 months ago

Wuestengecko commented 4 months ago

The uuid reported by capellambse.model.diagram.Diagram objects is currently inconsistent with what the GUI reports in the expert view. The GUI shows the uid of the <DRepresentationDescriptor> object, while capellambse first follows the repPath link and shows the ID of the Diagram object - even though it advertises "DRepresentationDescriptor" as the xtype.

To avoid confusion, we should unify this by reporting the uid field of the descriptor, just like the Capella GUI does.

jamilraichouni commented 4 months ago

I want to add that the GUI shows what the Java API supplies.