I have enabled the drag selection tool. When the user selects a number of nodes and links, I would like only the nodes to be selected. However, I would still like the user to be able to select one link at a time when necessary.
I tried calling isSelected on the relevant links in the selection when the ChangedSelection event is received, but that does not seem to work as I expect it --and the documentation clearly states that the diagram or the selection should be not changed on ChangedSelection.
Would there be a way to do this?