cancel
Showing results for 
Search instead for 
Did you mean: 

Absolute positioning of flow labels

roguemonkey
Champ in-the-making
Champ in-the-making
When generating a diagram image from java code running with the 5.15.1 engine, the flow labels are all pushed to the the bottom right of the Diagram. Generating the same image from within the Eclipse Designer works as it should.

I suspect that it is related to this bug?
http://jira.codehaus.org/browse/ACT-1929?jql=project%20%3D%20ACT%20AND%20text%20~%20%22label%20relat...

The latest designer plug-in version available is 5.15 http://activiti.org/designer/update/plugins/
Does it have the fix?

Thank you for any hint to resolve this issue.
Alex
ps: I would attach the diagrams generated through code and the designer, but it seems I may only post .txt files to the forum
3 REPLIES 3

roguemonkey
Champ in-the-making
Champ in-the-making
Upgrading to 5.16.1 changes the look of the diagram, the colors are more muted, the icons are golden instead of black and blue. The labels have moved… but are still at the wrong place. They are now semi randomly positioned on the screen (can' discern a pattern) instead of being all pushed to the bottom…

roguemonkey
Champ in-the-making
Champ in-the-making
I tried setting the position of the label to 0x 0y, but to no avail? It stayed right on the same spot on the diagram.

Before:
      <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
        <omgdi:waypoint x="400.0" y="326.0"></omgdi:waypoint>
        <omgdi:waypoint x="399.0" y="410.0"></omgdi:waypoint>
        <omgdi:waypoint x="522.0" y="410.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="12.0" width="90.0" x="439.0" y="557.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>

After:
      <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
        <omgdi:waypoint x="400.0" y="326.0"></omgdi:waypoint>
        <omgdi:waypoint x="399.0" y="410.0"></omgdi:waypoint>
        <omgdi:waypoint x="522.0" y="410.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="12.0" width="90.0" x="0.0" y="0.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>

I also notice that moving to 5.16.1, it's not only the colors that changed, but also the fact that boxes that could fit the whole text (just like on the Eclipse Designer plug-in) now show ellisions (…) and loses the end of the text. That's an inconvenient regression for me, as I make sure that all the text in the diagram is legible when I create boxes in the designer.

jbarrez
Star Contributor
Star Contributor
The issue you mention indeed fixed a very nasty bug - but as a side effect all the previous processes could have wrong labels … as you indeed noticed yourself.

The proces diagram has gotten some attention lately, and has many new improvements.

How is it possible that 3 ellisions are shown now if you make the rectangles big enough? Is there that big of a difference in fonts?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.