cancel
Showing results for 
Search instead for 
Did you mean: 

Layout of BPMNDiagram in activiti different to eclipse

thilka
Champ in-the-making
Champ in-the-making
Hello,

I designed a process in eclipse using the designer. Then I uploaded the file to our activiti instance and looked at the generated png file.

It seems that the layout information written to the bpmn.xml file is wrong.

The image is attached. In the editor, the image looks perfect.

If I arrange the diagram from left to right, (almost) everything is fine.

Could you tell me how to fix this behaviour? I tried to change the xml file directly, but as soon as I change something in the Activiti Designer, the changed layout information is overwritten.

Thanks,
Tobias
11 REPLIES 11

thilka
Champ in-the-making
Champ in-the-making
Hello,

thank you for the fix. This solved our issues.

The diagram still does not look exactly the same as in the editor, but for now it's fine.

Thanks again.

Tobias

jjfutt
Champ in-the-making
Champ in-the-making
Hello:

I am posting my question to an existing thread since I ran into the same problem that had been apparently been solved, but the solution actually only improves the situation and additional enhancements may be needed. As shown in the attached diagram below, we have observed that when a process is created in Eclipse, and then deployed to a Runtime engine, the positioning of the sequence lines is not exported correctly to the bpmn file. As a result, any diagrams generated by calling the Activiti APIs is slightly different from the Eclipse version, and depending on the complexity of the diagram, they may or may not have significant impact on readibility.

The example I am posting below is relatively simple, created solely to highlight the types of variations in sequence line positioning. Kindly advise if this is something that is planned to be addressed soon:

[img]http://i45.tinypic.com/xgcn4n.png[/img]