Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Debugging dangling edges

Hi Vlad,

if you set the check dangling flag to false, the interpreter will automatically delete all dangling edges (under the premise that all referencing objects are part of the EGraph). Does this solve your issue?

Cheers,
Christian


2014-11-05 10:21 GMT+01:00 Vlad Acretoaie <rvac@xxxxxx>:

Hi,

 

This is a problem I am running into constantly when transforming models conforming to large and complex metamodels (e.g. UML): when deleting a model element, a dangling edge appears in the target model, and the transformation fails (assuming that the Check Dangling Edges flag is set to true).

 

Because of the size of UML, it often takes me a long time to figure out exactly which dangling edge I have created, so that I can explicitly delete it in my transformation. Is there any way to get this information from Henshin? Getting the name of the offending EReference would be sufficient.

 

Cheers,

Vlad

 

Vlad Acretoaie

PhD student

DTU Compute

 

Technical University of Denmark

Department of Applied Mathematics and Computer Science

Matematiktorvet

Building 303B, Room 055

DK - 2800 Kgs. Lyngby

Denmark

Direct +45 45253645

rvac@xxxxxx

www.compute.dtu.dk/~rvac

 

 

 


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/henshin-dev


Back to the top