-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Activity name in wrong position #2253
Comments
Thanks for providing the BPMN files, I have been able to reproduce what you see. The issue you see is due to the values of the BPMN Label Bounds in the BPMN files. For instance, in <bpmndi:BPMNShape id="S1401821444475__f0257a8e-1aca-45ce-8d51-42e43d3c57f0" bpmnElement="SendOutAppForm"
color:background-color="#ffffff" color:border-color="#000000">
<dc:Bounds x="328" y="156" width="83" height="68" />
<bpmndi:BPMNLabel color:color="#000000">
<dc:Bounds x="244.17283948800343" y="271.2962968958858" width="82.99999999999997" height="26" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape> Using the following label bounds fixes the display. See BPMN-model_label_bounds_fixed.zip that also includes fixed label bounds for <bpmndi:BPMNLabel color:color="#000000">
<dc:Bounds x="330" y="175" width="78" height="26" />
</bpmndi:BPMNLabel>
Here is a comparison of the
When you import the diagram in demo.bpmn.io and you move an activity, the label are correctly displayed within the activity. Please let me know if you need more explanations. |
Describe the bug
The first activity name in wrong position.
To Reproduce
Steps to reproduce the behavior:
Screenshots
bpmn-visualization (your library) screenshot
Camunda screenshot
bpmn-js screenshot
Desktop:
Additional context
This zip file contains two bpmn files that I tried BPMN-model.zip
The text was updated successfully, but these errors were encountered: