bpmn-visualization-js
bpmn-visualization-js copied to clipboard
[FEAT] Fix the size of the marker icon
Is your feature request related to a problem? Please describe.
0.1.7
rendering, the size of the marker depends on the size of the activity
Describe the solution you'd like We want to be able to define the size of the marker as we do for marker margins. Need to introduce a new parameter in PaintParameter, to fix the size of the icon, for the marker
This may be managed with a solution shared with #211
#539 was a 1st step: the marker size does not depend on the size of the activity.
The size is the one defined in the IconPainter
implementation for each marker, which is ok from a user point of view for now. The ability to choose the actual size and to configure it is still not implemented.
See https://github.com/process-analytics/bpmn-visualization-js/pull/539#pullrequestreview-471469769 for more details
Proposed prototype to implement this issue: https://github.com/process-analytics/bpmn-visualization-js/pull/2724#issuecomment-1997932820