• Godot Help
  • Problems with and questions about GraphNode and GraphEdit.

When ever I go to a different scene and and go back to the scene containing the GraphNode it has move.
So from (x = 0, y = 0) to (x = 1024, y = 600).

Also can I do this?

jumptrigger changed the title to Problems with and questions about GraphNode and GraphEdit. .

I’m not sure if you can scale the buttons, but for the window header, I’d see if you can apply a custom style to it and remove it by setting it to an empty style box. I’m not 100% sure it is doable, but that’s what I’d look into.

    Still having the problem of the graph node changing positions from were I placed it in the editor.

    I'd give it a new theme and make the titlebar the same color as the background.

      Megalomaniak One last problem I'm creating graph nodes by right clicking with this code.

      var inst = (GraphNode)graphNode.Instance();
      GetNode<GraphEdit>("GraphEdit").AddChild(inst);
      inst.SetPosition(lastButtonPosition);

      But the node keeps spawning at the top left of the graph edit. Am I doing something wrong?

      I figured it out I have to use the offset.
      inst.Offset = lastButtonPosition;