Two way binding for size and rotation


I am trying to bind two way the node size and the rotation. I tried:

   new go.Binding("geometryString", "geo").makeTwoWay(),
   new go.Binding("size", "dim").makeTwoWay()

Where can I find a list of “figure”, “location”, etc. that may be used in Binding? And their appropriate placement.
I tried adding entries where marked [HERE] below:
$(go.Node, “Spot”, {},
// the main object is a Panel that surrounds a TextBlock with a rectangular Shape
$(go.Panel, “Auto”,
$(go.Shape, “RoundedRectangle”, { fill: “#00A9C9”, stroke: null },
$g(go.TextBlock, {
font: “bold 11pt Helvetica, Arial, sans-serif”,
stroke: lightText,
margin: 8,
maxSize: new go.Size(160, NaN),
wrap: go.TextBlock.WrapFit,
editable: true
new go.Binding(“text”).makeTwoWay())


Any settable property of any GraphObject can be data bound. So basically any settable property that you can find documented at or any of its subclasses.

Those classes are also shown graphically and their documentation is accessible from

Got it. Thanks.