bpmn-io / diagram-js

A toolbox for displaying and modifying diagrams on the web.
MIT License
1.71k stars 418 forks source link

How to customize a bubble card after clicking on a process node? #924

Closed tony2y closed 4 months ago

tony2y commented 4 months ago

How to customize a bubble card after clicking on a process node, and this bubble card will adaptively pop up along with the node. Probably similar to the element plus Popover component. Is there any implementation method or reference code? Looking forward to your answer! https://element-plus.org/en-US/component/popover.html

image

@nikku @philippfromme

nikku commented 4 months ago

You can use an overlay to attach any HTML content relative to an element. Probably possible to implement your bubble card like that.