process-analytics / bpmn-visualization-R

A R package for visualizing process execution data on BPMN diagrams
https://process-analytics.github.io/bpmn-visualization-R/
Apache License 2.0
16 stars 4 forks source link

[FEAT] Allow to retrieve BPMN elements and their semantic part #243

Open assynour opened 1 year ago

assynour commented 1 year ago

Is your feature request related to a problem? Please describe. During the work on the integration with bupaR, I needed to update the style of a given activity name. To do so, I need to find the id of the activity that corresponds to the given name.

Describe the solution you'd like Be able to retrieve the semantic part of an element in the same way as it is done with the TypeScript library using either:

assynour commented 1 year ago

@tbouffard @csouchet This is among the priority features needed for our demos

csouchet commented 1 year ago

After what I found, we can only pass data from the html widget to R by using Shiny App. Or, we want to support the case where we don't use Shiny App. So, it's not possible to call JS function and return the result to R from a rendered HTML widget :slightly_frowning_face:

The ressources

tbouffard commented 1 year ago

Possible workaround

tbouffard commented 1 year ago

As we don't have a simple solution for now, we have decided with @csouchet to postpone the implementation.