i indeed need some help.
I have a diagram that's databound.
I am for now, using the mvc example that uses the visualTemplate(options) function to
format the shapes, in my case start, stop is circle, decision is diamond, rest is rectangle. Works fine.
But now, I need a Button(s) in my toolbar to add the different kind of shapes (and of course trigger the createshape function in homecontroller)
I have searched, but i cannot find how to invoke the internal default "createshape" function that comes with the standard button in example.
Can you advise what the best approach is for this please? Basically i need to 1 add a shape, 2 format it to one of three shape types, trigger databound function to add to database.
Btw i am using the EDITING example of diagram MVC version.