How to handle context menu for overlapping nodes?

Hi all,

I have a situation where I have multiple nodes completely overlap each other. This makes right-click for the hidden nodes tricky. The approach I took was overriding the node OnEnterLeave method to display a custom selection list. This works fine up to the point where I can select a hidden node using the provided list.

However, when I right-click to display a context menu it always revert to the top node. How can make the right click so that it does not auto-select but uses what’s already selected.

I love this forum. You guys are great!!

GoToolContext has an option (SingleSelection) to turn off select on mouse down.

(myView.FindMouseTool(typeof(GoToolContext), true) as GoToolContext).SingleSelection = false;