What does selection mean for a CyNode versus a CyNodeView in Cytoscape 2.X? I would think that selection is strictly a view-related activity, but after looking at the implementation this doesn’t appear to be the case. Selecting a CyNode via something like CyNetwork.setSelectedNodeState() keeps its own state of selected nodes (in cytoscape.data.SelectFilter) and will fire an event that will actually select any corresponding CyNodeViews for a given selected CyNode. Then there is just selecting via CyNodeView.setSelected()). When should we be selecting the CyNodes versus their views? For my own application, I really only want the view selected, so that if there was another CyNetwork that was being displayed and showing the same CyNode, I would only want the node selected in a specific CyNetworkView. So, I assume I should use the CyNodeView.setSelected()?
What purpose does a view-based concept like selection have with the model objects like CyNode?