Touch support

You can perform the following interactions by using touch events:
  • When panning is enabled (for example, when the pan attribute of the Diagram is true), you can pan the Diagram by touching the screen and moving the finger.
  • When zooming is enabled (for example, when the zoom attribute of the Diagram is true), you can zoom and unzoom the Diagram by performing a pinch gesture with two fingers.
  • You can select nodes or links with a single tap.
  • You can collapse subgraphs with a double tap on the subgraph title bar. To expand again, double tap on the collapsed node.
To disable touch support, set the following flag:
ibm_ilog.diagram.mobileEnabled = false;
The flag is true by default.