eMoflon / emoflon-neo

A Neo4j-based implementation of eMoflon
Eclipse Public License 2.0
6 stars 2 forks source link

Fixes Correspondences in TGG not being correctly affected by relabeling during refinements. (Closes #294) #299

Closed maxischm closed 4 years ago

maxischm commented 4 years ago

Regarding the missing correspondences when using relabeling: I added that the flattener checks for relabelings in the refinements and if there are relabelings concerning the correspondences, the nodes in source and target are replaced by proxies using the new labels, during merging the different correspondences they are used to determine the correct source and target ModelNodeBlocks. On the given example, the correspondences are now shown for all cases.

Regarding the wrong validation: I added NullPointer checks which solved the issue in the given example.

The tests were all green.