@incursus wrote:
I have a tree view inside of a palette, and it is working marvelously! One thing I would like to change, however.
tl;dr: How can I have a custom node template used just for dragging from the palette to the main canvas area?
So I have a custom node template for the palette entries. It's just a tree view, but each item has a little icon next to it and then the text obviously. I also have a custom node template for the eventual node that gets dropped on the main canvas. In other words, the text, when dragged over from the tree, turns into a pretty box :)
However, the node template used when dragging just shows the text (no icon even). A lot of times, people just assign the same node template to both the diagram and the palette. But in the case of a tree view, that isn't really practical.
What I want to be able to do is have a node template used just for dragging (and that one can/should be the same as the one that is eventually placed on the diagram.
Not sure if this makes sense, but I would certainly welcome any guidance!
Posts: 15
Participants: 2