I would like to dynamically change the content of the ContextMenu in a diagram depending on the selected element at the time. I've seen this is possible in the ContextMenu outside of a diagram, so I want to know if it's possible in this context as well. Any help is appreciated!