Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370846 - Default event / gateway sizes cause wrong positioning in roundtrip scenarios
Summary: Default event / gateway sizes cause wrong positioning in roundtrip scenarios
Status: RESOLVED FIXED
Alias: None
Product: BPMN2Modeler
Classification: SOA
Component: Core (show other bugs)
Version: future   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.0.1-M1   Edit
Assignee: Robert Brodt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 10:59 EST by Andreas Drobisch CLA
Modified: 2012-10-09 11:55 EDT (History)
0 users

See Also:
bbrodt: iplog+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Drobisch CLA 2012-02-07 10:59:42 EST
The use of fixed sizes for the event and gateway element results in shifted process elements in roundtrip scenarios: If you open a BPMN 2.0 model from a different modeling tool, which uses different sizes, the ancor points of the sequence flows are not in line anymore. If you in turn open a file change with the designer, you will have this problem in the other modeling tool.

We implemented the following:

* Scale event and gateway sizes up to the dimension defined in the DI bounds
* Take the size of the last event/gateway defined in the DI of the current diagram as new default for the creation of that elements.

This will align the two modeler sizes during export / import.

The bigger picture is: export a model from a web based designer like signavio / oryx / whatever -> enrich the model with implementation details in the designer -> import back to the web designer.

See our changes here: https://bitbucket.org/camunda/patches.eclipse.bpmn2-modeler

Would be great to see this in master!

Best Regards,
Andreas
Comment 1 Robert Brodt CLA 2012-02-29 11:33:51 EST
Thanks Andreas! I've merged in the changes from https://bitbucket.org/camunda/patches.eclipse.bpmn2-modeler which was current as of today.

If you are planing on maintaining a parallel fork, you should probably take another snapshot from https://git.eclipse.org/c/bpmn2-modeler/org.eclipse.bpmn2-modeler.git because I have made quite a few bug fixes and enhancements since last time.