You can either reimplement the Adornment to use HTML instead (HTMLInfo), or you could adapt the Adornment to put the Buttons on the left side of the item when the node is too close to the right side of the viewport.
The latter you could do by setting the alignment and alignmentFocusof the Panel of Buttons to:
{ alignment: new go.Spot(0, 0.5, 8, 0), alignmentFocus: go.Spot.Right },
Hi walter, can you look above and help ( I accidently marked this as a solution but it is not),
on the same node position the buttons appears on other sided
The behavior seems to match what you were looking for, and you didn’t ask a question, and the post seemed to say that everything’s OK. That’s why I marked it as Solved.
I moved the node marked as “beta beta beta” next to the edge,
then I hover over some items,
in the first item the action buttons appears to the right of the shape
in the next item the action buttons appears to the left of the shape.
(the same problem appears on the next items)
I need the behavior to be constant.
In my app the buttons appears this happens also not so close to the edge