I would need to create diagram element after triggering an action and I am wondering how to do that.
I have tried to read the simplediagram example code from Papyrus SVN but I don't understand how to do that. I suppose the ComponentCreateCommand could the key to find out the mechanism but I feel it's quite complex.
Is there a simpler (more readable) way to do that?