@braks/vue-flow / Project

Type alias: Project

Ƭ Project: (position: XYPosition) => XYPosition

Type declaration

▸ (position): XYPosition

project a position onto the viewpane, i.e. a mouse event clientX/clientY onto graph coordinates

Parameters
NameType
positionXYPosition
Returns

XYPosition