I need to add a button inside a diagram element as example inside a shape or group elements, if it is not possible, add a pop up menu or something similar...
Do you have any advice?
The Diagram does not support standard HTML elements. Anything that is appended to it must be "drawn".I looked through some older cases and I found the following forum thread that showcases something similar to what you're looking for:
I modified the example from the forum answer a bit to showcase a slightly different behavior:
When you click on one of the names in the Shape, an alert will appear with the first name of the person. When you click on the title, the title will be printed.You can use this approach to extend the logic and achieve the desired outcome.