You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm really banging my head against the wall here. I can't for the life of me figure out how to get the graph coordinates from any other .js file. Like I simply want to add a node at the center of my screen, no matter where I am in the graph, but everything I try just keeps adding the node to 0,0.
The text was updated successfully, but these errors were encountered:
LGraphNode.prototype.pos is a Float32[] where you have x, y from the top left of the barely visible blue box (0,0). The provided number needs to be a valid number (not suffixed with 'px') as per HTMLCanvas.
I'm really banging my head against the wall here. I can't for the life of me figure out how to get the graph coordinates from any other .js file. Like I simply want to add a node at the center of my screen, no matter where I am in the graph, but everything I try just keeps adding the node to 0,0.
The text was updated successfully, but these errors were encountered: