<!-- The DIV for the Diagram needs an explicit size or else we won't see anything.
   This also adds a border to help see the edges of the viewport. -->
<div id="myDiagramDiv" style="border: solid 1px black; width:400px; height:400px"></div>
  This sample gives an example of customizing
  <a>Tool.standardPinchZoomStart</a> and
  Select a node and pinch zoom to see the action modify the scale of the Node instead
  of the scale of the Diagram.
加入 GoJS 交流群
GoJS 交流群 (769862113)