Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Proposal to remove direct creation of edges

Hi Gregor,

Quoting Gregor Bonifer <gregor.bonifer@xxxxxx>:
If an edge is created directly in a graph it has neither source nor target. Therefore identifying the dependent edges of a kernel edge becomes kind of a guessing game.

Is this a problem? I.e. will verifying the model create an error if edges are not set correctly by the user or will the interpreter just (mysteriously) not work correctly (although the model passed the verification)?

I would like to exclude edges from the "Create Child" and "Create Sibling" menu. Edges should always be created by commands which imply setting the source and target references [...]
Are there any objections?

I strongly object; removing functionality is not a good idea at all, especially when it comes to these rather primitive operations. I can imagine situations where one might to create an edge before its target Node is created, which would be made impossible. Of course, the user will have a more comfortable editing experience without needing to specify additional information if she chooses the advanced editing functions.

Felix



Back to the top