I'm using Henshin Eclipse project to do model transformations. Currently I am having the following workflow for UML-models:
draw UML-diagram (with TOPCASED)
do transformation on .uml-file
re-create diagram on the transformed model (using TOPCASED)
Is this possible for BPMN2-Models / diagrams ?
My problem is: when I do the transformation only on the model information, BPMN2 Modeler (diagram editor) refuses to open the diagram, while the model editor shows the model fine.
Robert Brodt Messages: 811 Registered: August 2010 Location: Colorado Springs, CO
I'm guessing that your transformation only contains the BPMN2 elements without any DI (Diagram Interchange) information. Is it possible to post the transformed model here? If that's not possible, can you email it in an attachment to firstname.lastname@example.org?
I'm guessing that your transformation only contains the BPMN2 elements without any DI (Diagram Interchange) information.
Yes and no It depends on how I do the transformation.
It may be possible to also do the changes to the diagram-elements, but this would make the transformation rules very complex because the elements of the diagram do have an other container then the elements of the model. I'll send you some data via e-mail because it seems as if attachements are not allowed here.
This is the raw file which I initially draw with modeller. It is a simple process containing of start/end and two Tasks "Enter Password" and "Ignore".
I deleted the diagram information from the file by hand.
My transformation runs fine then. The result is a pure BPMN2-Model which is intact, I think.
The other possibility:
I do a "forced" transition on test_raw.bpmn2, which means that Henshin, the transformation-tool, does not check if the transformation leaves dangling edges. The result is "test_forced.bpmn2", an intact model and diagram information including the now superfluous Shape and Edges describing the (deleted) Task and its Sequence Flows.