Node resize does not work

Hello there,

I have a problem with the resizingTool.
Take a look at my code
diagram.nodeTemplate = $(go.Node, "Table", { locationObjectName: "", toolTip: map.toolTipTemplate, locationSpot: go.Spot.Center, selectable: true, selectionAdornmentTemplate: map.nodeSelectionAdornmentTemplate, resizable: true, resizeObjectName: "PANEL", resizeAdornmentTemplate: map.nodeResizeAdornmentTemplate, rotatable: true, rotateAdornmentTemplate: map.nodeRotateAdornmentTemplate },
As far as I understand the line resizable: true, should do it.
Well looks like I am wrong.
So I tried to figure the problem out, by myself.
Unfortunaly that was not succesful.
Trying to detect the problem I came up with this

diagram.toolManager.resizingTool.doStart = function () { console.log(this); this.adornedObject = diagram.findNodeForData(currentItem); console.log(this.handle); console.log(this.cellSize); console.log(diagram.toolManager.draggingTool.gridSnapCellSize); }

I noticed that adornedObject was null, so I tried to set this value, well it didn’t worked.
this.handle is null
this.cellSize is NaN
same for diagram.toolManager.draggingTool.gridSnapCellSize .

Why are the needed values null ?

I hope you can suggest another direction, where I can look for the problem.

Best regards!

What are the definitions for “PANEL” and map.nodeResizeAdornmentTemplate?

I found the problem.
The problem was the resizeObjectName: "PANEL", just as you suggested.
I had to take away a binding for the attribute “name”.

Thanks a lot !

GraphObject | GoJS API documents that you should not modify the name property once the GraphObject is part of the visual tree.

I was not aware of that.
But it makes sense to stay away from the “name” property.
Thank you!