Switch gojs textblock element on drop

Hi, I am currently using GoJS for academic purposes. I was wondering if it is possible to switch a g.TextBlock element with a new one after a Node hasb een droppped from the palette. Also, is it possible to change the panel type, for instance:
FROM: $(go.Node, ‘Spot’,…
TO: $(go.Node, ‘Auto’,…
after drop.

Thanks you in advance!

I suggest that you make sure that the template that is used in the target Diagram is just the way that you want it.

Look at the different templates used in GoJS Palette -- Northwoods Software.

Thanks! :-)