[x] I documented the TypeScript code using JSDoc style.
[x] I added multiple screenshots/screencasts of my UI changes (NA)
[x] I translated all the newly inserted strings into German and English (NA)
Motivation and Context
Consumers of Apollon might need to work with UML models, reading them or modifying them. For example, Artemis reads element details to match instructor feedbacks on modelling exercise submissions, and attaches these feedbacks to the diagram as assessments.
To conduct such operations, consumers would need to manually access and modify UML models. Since these models might be in various schema versions, consumers need to write additional code handling different model versions.
Description
This PR adds helper APIs for reading and modifying UML elements. These functions handle backwards compatibility internally. It causes the Apollon package to expose following methods:
Checklist
I added multiple screenshots/screencasts of my UI changes(NA)I translated all the newly inserted strings into German and English(NA)Motivation and Context
Consumers of Apollon might need to work with UML models, reading them or modifying them. For example, Artemis reads element details to match instructor feedbacks on modelling exercise submissions, and attaches these feedbacks to the diagram as assessments.
To conduct such operations, consumers would need to manually access and modify UML models. Since these models might be in various schema versions, consumers need to write additional code handling different model versions.
Description
This PR adds helper APIs for reading and modifying UML elements. These functions handle backwards compatibility internally. It causes the Apollon package to expose following methods:
Steps for Testing
Test Coverage