Add from element to tracing

Issue #388 resolved
Matthias Schoettle created an issue

To be able to map to elements from the original (non-woven) aspect by providing a woven element (i.e., user selects elements based on the woven aspect, but the mapping is stored to the original element) we need to know more than just the aspect it was woven from. I.e., for each woven element, we need to know the from element as well. This is basically what is located in the WeavingInformation in the weaver.

As discussed today, we will keep tracing for now in the RAM metamodel and replace wovenElements with a map with the following mapping:

  • key is the to element, the element something was woven into, i.e., it is an element from the current aspect
  • value is the from element, the element that was woven into the to element (key), i.e., it is an element from the WovenAspect

By providing this mapping, retrieving the key set of the map gives as the same information that we currently need for the tracing view. Also, it allows to use a 1-to-1 mapping.

Comments (7)

  1. Cécile Camillieri

    References #388: improve the way to get woven from' element from the mappings + resolve woven from elements in some places were it was forgotton

    → <<cset 5656609cac7d>>

  2. Log in to comment