WPS / egon.io

A tool to visualize Domain Stories in your browser
http://domainstorytelling.org
749 stars 105 forks source link

Change Color of all Selected Model Elements #152

Open hofstef opened 2 months ago

hofstef commented 2 months ago

Is your feature request related to a problem? Please describe. As of v2.0.0, changing the color only works for one selected actor, work object, activity, group, or annotation. To change the color of multiple model elements, each of them needs to be selected. This is tedious.

Describe the solution you'd like When multiple model elements are selected (with the Lasso tool or by SHIFT+left click), a context pad should be shown with the palette symbol that opens the color picker. On selecting a color, it should be applied to all selected model elements.

For reference, this is how it looks like in bpmn-js:

grafik

Describe alternatives you've considered Copy formatting and applying it to other model elements would be an alternative that is a little bit better than the current behaviour but not as convenient as the solution described above.

hofstef commented 2 months ago

requires dependencies to be updated to: "bpmn-js": "^9.2.2" which introduces breaking changes. It might be helpful to check how the example was updated.