I currently have the baseNodeTemplate’s shadow and the selectionBorder binded to the isSelected property. The behavior I want is for the shadow to only be applied while the user is dragging/holding the node and for the selection border to only be applied when the the node is selected but not being currently dragged/held.
Any ideas for how to achieve this desired behavior? Thanks in advance for any help!
Well, if you are willing to assume that for all of your Node templates and Link templates Part.selectionAdorned is true (which is the default value) and that Part.isShadowed is false (as you seem to imply), then this will work for dragging within a diagram:
Thanks! The draggingTool.doActivate/doDeactivate was what I needed! For my specific use case, I just needed the part.isShadowed = true in the functions and then modified the ‘visible’ binding in my selectedBorder() shape to be: