I want to have a simple UI to draw an ER diagram. I would like to add tables and connectors to a model.
I played around with stencils and also with the interactive mode. The idea is to have three buttons to select
either pointer, table or connector and to set the interactive mode to pointer, shape or connector.
My problem is that I want to add a table instead a basic shape in interactive mode. Any idea how to do that?
I thought of using the position of the shape in the ElementInserted event to draw a table at the same position
an then to remove the shape. But is this the right way to do that?