Excuse me, after reading the document, I did not find the party that can obtain the upper-left and lower-right position of the node, but only found that the location can obtain the upper-left position of the node, may I ask how to obtain the upper-left and lower-right position of the node
For top-left:
-
someNode.position
, or -
someNode.actualBounds.position
, or new go.Point(someNode.actualBounds.x, someNode.actualBounds.y)
For bottom-right:
new go.Point(someNode.actualBounds.right, someNode.actualBounds.bottom)
Thank you for your answer. Thank you