Onpane double click I call my setnodes function, but it adds in the wrong place. Doing console log position on node mount shows the right position is being added, but it visually shows as somewhere completely different
you clicked at x: 862 y: 389
MapContext.tsx:207 adding node at x: 862 y: 389 direction: null parentNode: undefined //correct