What does robotMove do? Does it call Robot.mouseMove with suitable millisecond numbers to make it think that the mouse has hovered long enough there to trigger the GraphObject.mouseHover event? Robot | GoJS API GraphObject | GoJS API
Well, of course if you keep telling it that no time has passed (i.e. the virtual clock is always at 5000 milliseconds), any operations that depend on time passing will fail.
thank you!
i tried multiple things but nothing seems to be working. This is what i have right now
function moveNodeCenter(canvasParent, nodeIndex){
var canvas = go.Diagram.fromDiv(canvasParent);
var nodeDataArray = getAllNodes(canvasParent);
var targetNodeKey = nodeDataArray[nodeIndex].key;
var targetNodeObj = canvas.findNodeForKey(targetNodeKey);
let myRobot = new Robot(canvas);
myRobot.mouseDown(targetNodeObj.x, targetNodeObj.y, 0);
myRobot.mouseMove(targetNodeObj.x, targetNodeObj.y, 200);
myRobot.mouseUp(targetNodeObj.x, targetNodeObj.y, 250);
}