eclipse-syson / syson

SysON: web-based graphical modelers for SysMLv2. Please visit https://mbse-syson.org and contact Obeo https://www.obeosoft.com/en/contact for more details!
https://mbse-syson.org
Eclipse Public License 2.0
94 stars 24 forks source link

Improve the way node descriptions are retrieved for a given semantic element #445

Closed jerome-obeo closed 3 months ago

jerome-obeo commented 3 months ago

At the moment, only the semantic element's domain type is considered when we want to retrieve its associated node description. This can be an issue when several node descriptions have the same domain type because the first node description is always returned.

The proposed solution is to extend how we retrieve node descriptions to evaluate both the candidates and the precondition expressions to discriminate node description candidates.