0

I have a compound nodes with almost 50 nodes. And the problem is that the user can not scroll when zoomed into the node to a reasonable scale as clicking on the made (necessary for scrolling) triggers the onclick functionality of the compound need. So is there a way by which a certain node can be made unclickable, thus allowing panning even when zoomed onto the compound node.

KarateKid
  • 3,138
  • 4
  • 20
  • 39

1 Answers1

2

Set events: no in your stylesheet: http://js.cytoscape.org/#style/events

It's analogous to pointer-events: none in CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events

maxkfranz
  • 11,896
  • 1
  • 27
  • 36