A node returned by NVL.getNodes with layout coordinates and screen position. x and y are layout space; clientPosition is in CSS pixels relative to the top-left corner of the container.
x
y
clientPosition
Screen position in CSS pixels, relative to the top-left corner of the container.
clientPosition = ((x, y) - pan) * zoom / devicePixelRatio + containerSize / 2, with pan from NVL.getPan and zoom from NVL.getScale.
clientPosition = ((x, y) - pan) * zoom / devicePixelRatio + containerSize / 2
pan
zoom
A node returned by NVL.getNodes with layout coordinates and screen position.
xandyare layout space;clientPositionis in CSS pixels relative to the top-left corner of the container.