How do you convert GoJS document coordinates to a Spot?
I’m trying to align my diagram’s position to a certain coordinate like so:
const spot = new Spot(selection.x, selection.y);
diagram.alignDocument(spot, spot);
Selection contains the correct document coordinates, however, the above is not working because Spot expects coordinate values from 0 to 1 only. Thank you in advance for any tips!