process-analytics / bpmn-visualization-pm4py

Example of integration between bpmn-visualization and pm4py
GNU General Public License v3.0
10 stars 5 forks source link

[BUG] Tasks are no more rounded after applying custom styles #15

Closed tbouffard closed 1 year ago

tbouffard commented 1 year ago

Describe the bug BPMN tasks must be rendered with rounded corners per BPMN Specification. bpmn-visualization enforces this, but in this demo, once the custom fill color is applied to tasks, the rounded corner are dropped, and the diagram display raw rectangles instead.

To Reproduce Steps to reproduce the behavior:

  1. Use code of commit ff8e9705cb916f713d9974605794bc8c3db79d95 and run the demo
  2. Load an XES
  3. The tasks displaying frequency data are displayed as raw rectangles

Expected behavior The BPMN tasks should display rounded corners.

Screenshots

Frequency data

image https://www.youtube.com/watch?v=qmWcnZ4Ffn0&t=22s

Conformance data

image https://www.youtube.com/watch?v=qmWcnZ4Ffn0&t=66s

Environment

Desktop (please complete the following information):

Additional context

This is probably due to an issue in the code calling the mxGraph native function and should be fixed with #3 and #12.