bpmn-io / bpmn-js-token-simulation

A BPMN 2.0 specification compliant token simulator.
https://bpmn-io.github.io/bpmn-js-token-simulation/modeler.html?e=1&pp=1
MIT License
249 stars 71 forks source link

More precise simulation log icons. #167

Closed timKraeuter closed 6 months ago

timKraeuter commented 6 months ago

Describe the solution you'd like

The simulation log currently always shows a default icon for each executed flow node, even if the flow node has a specific type with a more precise icon. See the following example:

image

Here, one could show a receive task icon and event-specific icons for the other events. The icons exist in the BPMN-font and could be used by changing Log.js.

If you are interested in this change, I can draft a pull request since I implemented this in my tool based on the token simulation.

Changing to more precise icons can help distinguish two executed flow nodes without names and make the simulation log consistent with the icons in the model.

Additional context

Currently, it looks like this: image More precise icons would look like this: image

timKraeuter commented 6 months ago

I just saw that more precise icons are provided for some tasks but not for receive and send tasks.

barmac commented 6 months ago

I think this makes sense. Would you like to prepare a pull request with the solution?

timKraeuter commented 6 months ago

I added a pull request just now. Let me know what you think.