cancel
Showing results for 
Search instead for 
Did you mean: 

REST image retrieval cuts off edges of diagram

sfuchs
Champ in-the-making
Champ in-the-making
Hi guys,

I want to retrieve the png of a workflow via the REST interface, but the left and upper edges are sometimes cut off.

Here is a sample of what the REST call retuns:
[img]http://i43.tinypic.com/346xgeb.png[/img]

Here is what it looks like in Eclipse:
[img]http://i41.tinypic.com/9iqo9t.png[/img]

Find the xml source attached.

Regards,
Stefan
4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
Your process BPMNDI contains negative X and Y values, so it seems. Any idea how this happened? Did you move the elements or did some spacial action while modeling?

   <omgdc:Bounds height="55.0" width="105.0" x="-270.0" y="90.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="-360.0" y="100.0"></omgdc:Bounds>

sfuchs
Champ in-the-making
Champ in-the-making
For this test case I dragged it to the upper left corner on purpose. In our project however, we were quite surprised by that behaviour initially. This seems to happen after resizing a sub process (i.e. some coordinates going negative).

whdwsl
Champ in-the-making
Champ in-the-making
it happens a lot, may be a bug of eclipse plugin, when maximizing the frame of eclipse , pull up a Graphical notation or pull left

trademak
Star Contributor
Star Contributor
Hmm ok, that seems to be a Designer bug. Could you raise a JIRA for this?

Thanks,
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.