bpmn-visualization-js icon indicating copy to clipboard operation
bpmn-visualization-js copied to clipboard

[FEAT] Fix the size of the marker icon

Open csouchet opened this issue 4 years ago • 4 comments

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

image

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

csouchet avatar Aug 05 '20 10:08 csouchet

This may be managed with a solution shared with #211

tbouffard avatar Aug 05 '20 14:08 tbouffard

#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

tbouffard avatar Aug 20 '20 14:08 tbouffard

Proposed prototype to implement this issue: https://github.com/process-analytics/bpmn-visualization-js/pull/2724#issuecomment-1997932820

tbouffard avatar Mar 11 '24 18:03 tbouffard