lcorbasson / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

Wrong Bounds in JsonErdfTransformation #405

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Convert Json BPMN model with JsonErdfTransformation to Erdf

What is the expected output?
bounds of elements are: 
upper left X,upper left Y,lower right X,lower right Y
as with the export in the editor

What do you see instead?
bounds of elements are: 
lower right X,lower right Y upper left X,upper left Y

This can be fixed in poem-jvm/ src/ java/ org/ b3mn/ poem/ util/
JsonErdfTransformation.java . The bounds are calculated around line 130.
The upper left and lower right corner just need to be switched.

I have not done this by myself, because I do not know if the order should
be this way and if there are other places which will be affected. At least
it should be the same way in all places.

Original issue reported on code.google.com by ingo.kit...@gmail.com on 19 Jun 2009 at 2:40