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] Introduce a plugin to expose the bpmn-visualization "style API" with names as parameters #75

Closed
tbouffard opened this issue Aug 22, 2023 · 0 comments · Fixed by #281
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tbouffard
Copy link
Member

tbouffard commented Aug 22, 2023

Rationale

See #73

Proposal

  • plugin class: StyleByNamePlugin (find a better name)
  • plugin id: style-by-name
  • methods: all "style" related methods from BpmnElementsRegistry

Example of usage

const stylePlugin =  bpmnVisualization.getPlugin<StyleByNamePlugin>(‘style-by-name’);
stylePlugin.updateStyle('activity-name-1', {...})
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

Successfully merging a pull request may close this issue.

1 participant