Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
assynour opened this issue Sep 5, 2023 · 4 comments
Open

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

assynour opened this issue Sep 5, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@assynour
Copy link

assynour commented Sep 5, 2023

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 assynour added the enhancement New feature or request label Sep 5, 2023
@assynour
Copy link
Author

assynour commented Sep 5, 2023

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

@csouchet csouchet self-assigned this Sep 5, 2023
@csouchet csouchet moved this to Todo in Roadmap 2023 Sep 5, 2023
@csouchet
Copy link
Member

csouchet commented Sep 7, 2023

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 🙁

The ressources

@csouchet csouchet removed their assignment Sep 7, 2023
@tbouffard
Copy link
Member

Possible workaround

  • provide a new R function to "import" or "load" the diagram and retain it into memory
  • do the implementation directly in R or using other packages like understandBPMN
  • in the display function, passing the diagram file is optional as it may already have been loaded with the "import" function. If it has not been previously loaded and it is not passed, throw an error

@tbouffard tbouffard removed this from Roadmap 2023 Sep 13, 2023
@tbouffard
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants