-
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
[QUESTION] Bizagi diagram renderer wrong #2590
Comments
Hi @sleeptd2 I need more information to be able to answer to you.
All the above information will help us understand and/or reproduce what you see. |
Potential causes of the rendering issues:
|
Any diagram that is exported from Bizagi, this ends up happening, the ones that are exported from camunda work correctly, the colors placed by css class, |
Thanks for this first set of information. Can you please share any of the diagrams you mentioned so I can test them with |
Same diagram but one is imported from Bizagi another from Camunda |
@tbouffard |
Hi @sleeptd2 I have been able to reproduce what you mentioned with the provided diagram and https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/v0.33.0/examples/misc/compare-with-bpmn-js/index.html. This is the example that let us compare the BPMN rendering of
ConclusionsThe rendering issue you mentioned is the same with both Diagram analysisThe model contains 2 participants
<participant id="Id_3e8a82a9-2c3b-4b88-b928-bd0bf1131343" name="Processo principal" processRef="Id_deea4171-154c-4a86-b221-19cdfdbd694c">
<participant id="Id_2cc4ca13-3507-4512-b2ad-9c564f686ac2" name="Processo" processRef="Id_23cc42fc-17a7-46d8-9eae-9ed2ee354f11"> Both processRef are valid and the participants both have a related BPMNShape. So they must be rendered. The positions of the pools are very close (x and y) and the dimensions are the same, so they overlap
<Bounds x="30" y="30" width="700" height="350" ...>
<Bounds x="5" y="4" width="700" height="350" Discrepancies between bpmn-visualization and bpmn-jsPool: the default fill color is
Pool fonts: bpmn-visualization respects the LabelStyle whereas bpmn-js doesn't. <Font name="Segoe UI" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false Position of Label of the tasks
For instance, see the "Tarefa 1" BPMNShape <BPMNShape id="DiagramElement_689aeebb-bd50-432e-9912-78fce30e43b0" bpmnElement="Id_e21d8d76-9530-4f0b-a371-be61cc6a61df">
<extension xmlns="http://www.omg.org/spec/DD/20100524/DI" />
<Bounds x="218" y="139" width="90" height="60" xmlns="http://www.omg.org/spec/DD/20100524/DC" />
<BPMNLabel id="DiagramElement_5fb0a30a-49b2-4433-afc1-30dfabb16f0d" labelStyle="Style_e7c5fb1b-44ad-4689-b619-84fc19ce4914">
<extension xmlns="http://www.omg.org/spec/DD/20100524/DI" />
<Bounds x="0" y="0" width="90" height="60" xmlns="http://www.omg.org/spec/DD/20100524/DC" />
</BPMNLabel>
</BPMNShape> Possible workaround with
|
Got it, thanks for the support I'll try those alternatives |
how i can fixed this?
The text was updated successfully, but these errors were encountered: