-
Notifications
You must be signed in to change notification settings - Fork 36
[FEAT] support custom image rendering #2730
Copy link
Copy link
Open
Labels
BPMN renderingSomething about the way the lib is rendering BPMN elementsSomething about the way the lib is rendering BPMN elementsBPMN supportSomething about the BPMN specification that the lib is already supporting or will supportSomething about the BPMN specification that the lib is already supporting or will supportenhancementNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
BPMN renderingSomething about the way the lib is rendering BPMN elementsSomething about the way the lib is rendering BPMN elementsBPMN supportSomething about the BPMN specification that the lib is already supporting or will supportSomething about the BPMN specification that the lib is already supporting or will supportenhancementNew feature or requestNew feature or request
Is your feature request related to a problem? Please describe.
Render custom images inside of the BPMN models. I have cases where need to show custom images at any position and with possible connections:
Describe the solution you'd like
I am keeping the image in
textAnnotationas base64 encoded string:So I would expect if this attribute is presented in xml code, so bpmn-visualization lib can display the image.
Describe alternatives you've considered
I was inspired how
bpmn-jshandle rendering custom images:https://github.com/bpmn-io/bpmn-js-example-custom-rendering
Maybe we can apply the same/similar approach in bpmn-visualization lib?
Additional context
Example xml file with image:
FEAT.support.custom.image.rendering-example.txt