From 1e11fe936b8e910f9de9f2b7e30c3094a77c783f Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Tue, 20 Jan 2026 21:24:47 +0400 Subject: [PATCH] Remove experimental flag from graph nodes --- doc/classes/GraphEdit.xml | 2 +- doc/classes/GraphElement.xml | 2 +- doc/classes/GraphFrame.xml | 2 +- doc/classes/GraphNode.xml | 2 +- scene/gui/graph_edit.cpp | 8 -------- scene/gui/graph_edit.h | 2 -- 6 files changed, 4 insertions(+), 14 deletions(-) diff --git a/doc/classes/GraphEdit.xml b/doc/classes/GraphEdit.xml index e1baf9f543..c73b4e2903 100644 --- a/doc/classes/GraphEdit.xml +++ b/doc/classes/GraphEdit.xml @@ -1,5 +1,5 @@ - + An editor for graph-like structures, using [GraphNode]s. diff --git a/doc/classes/GraphElement.xml b/doc/classes/GraphElement.xml index 1f810b3c2d..7aac150bf9 100644 --- a/doc/classes/GraphElement.xml +++ b/doc/classes/GraphElement.xml @@ -1,5 +1,5 @@ - + A container that represents a basic element that can be placed inside a [GraphEdit] control. diff --git a/doc/classes/GraphFrame.xml b/doc/classes/GraphFrame.xml index 52bb451d95..ce8d3e9703 100644 --- a/doc/classes/GraphFrame.xml +++ b/doc/classes/GraphFrame.xml @@ -1,5 +1,5 @@ - + GraphFrame is a special [GraphElement] that can be used to organize other [GraphElement]s inside a [GraphEdit]. diff --git a/doc/classes/GraphNode.xml b/doc/classes/GraphNode.xml index 8c3039cb13..6ea454f3d5 100644 --- a/doc/classes/GraphNode.xml +++ b/doc/classes/GraphNode.xml @@ -1,5 +1,5 @@ - + A container with connection ports, representing a node in a [GraphEdit]. diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index cf34489547..279716f884 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -252,14 +252,6 @@ Control::CursorShape GraphEdit::get_cursor_shape(const Point2 &p_pos) const { return Control::get_cursor_shape(p_pos); } -PackedStringArray GraphEdit::get_configuration_warnings() const { - PackedStringArray warnings = Control::get_configuration_warnings(); - - warnings.push_back(RTR("Please be aware that GraphEdit and GraphNode will undergo extensive refactoring in a future 4.x version involving compatibility-breaking API changes.")); - - return warnings; -} - Error GraphEdit::connect_node(const StringName &p_from, int p_from_port, const StringName &p_to, int p_to_port, bool p_keep_alive) { ERR_FAIL_NULL_V_MSG(connections_layer, FAILED, "connections_layer is missing."); diff --git a/scene/gui/graph_edit.h b/scene/gui/graph_edit.h index d5f7469043..088507ccfb 100644 --- a/scene/gui/graph_edit.h +++ b/scene/gui/graph_edit.h @@ -405,8 +405,6 @@ public: virtual CursorShape get_cursor_shape(const Point2 &p_pos = Point2i()) const override; - PackedStringArray get_configuration_warnings() const override; - void key_input(const Ref &p_ev); // This method has to be public (for undo redo).