Ok - narrowed it down a bit - see the code below. It works if I comment out the rotatingtool lines in the myDiagram declaration… Thoughts?
myDiagram =
$(go.Diagram, “myDiagramDiv”, // must name or refer to the DIV HTML element
{
grid: $(go.Panel, “Grid”,
$(go.Shape, “LineH”, { stroke: “lightgray”, strokeWidth: 0.5 }),
$(go.Shape, “LineH”, { stroke: “gray”, strokeWidth: 0.5, interval: 10 }),
$(go.Shape, “LineV”, { stroke: “lightgray”, strokeWidth: 0.5 }),
$(go.Shape, “LineV”, { stroke: “gray”, strokeWidth: 0.5, interval: 10 })
),
allowDrop: true, // must be true to accept drops from the Palette
“draggingTool.dragsLink”: true,
“draggingTool.isGridSnapEnabled”: true,
“linkingTool.isUnconnectedLinkValid”: true,
“linkingTool.portGravity”: 20,
“relinkingTool.isUnconnectedLinkValid”: true,
“relinkingTool.portGravity”: 20,
“relinkingTool.fromHandleArchetype”:
$(go.Shape, “Diamond”, { segmentIndex: 0, cursor: “pointer”, desiredSize: new go.Size(8, 8), fill: “tomato”, stroke: “darkred” }),
“relinkingTool.toHandleArchetype”:
$(go.Shape, “Diamond”, { segmentIndex: -1, cursor: “pointer”, desiredSize: new go.Size(8, 8), fill: “darkred”, stroke: “tomato” }),
“linkReshapingTool.handleArchetype”:
$(go.Shape, “Diamond”, { desiredSize: new go.Size(7, 7), fill: “lightblue”, stroke: “deepskyblue” }),
//rotatingTool: $(TopRotatingTool), // defined below
//“rotatingTool.snapAngleMultiple”: 15,
//“rotatingTool.snapAngleEpsilon”: 15,
“undoManager.isEnabled”: true
});