WPS / egon.io

A tool to visualize Domain Stories in your browser

Home Page:http://domainstorytelling.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change Color of all Selected Model Elements

hofstef opened this issue · comments

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.

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.