Merge pull request #101439 from JekSun97/Provide-connection_map-to-GraphEdit

Add `get_connection_list_from_node` function to `GraphEdit`
This commit is contained in:
Thaddeus Crews 2025-03-11 16:53:48 -05:00
commit 0822829359
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
3 changed files with 35 additions and 0 deletions

View file

@ -344,6 +344,7 @@ private:
TypedArray<Dictionary> _get_connection_list() const;
Dictionary _get_closest_connection_at_point(const Vector2 &p_point, float p_max_distance = 4.0) const;
TypedArray<Dictionary> _get_connections_intersecting_with_rect(const Rect2 &p_rect) const;
TypedArray<Dictionary> _get_connection_list_from_node(const StringName &p_node) const;
Rect2 _compute_shrinked_frame_rect(const GraphFrame *p_frame);
void _set_drag_frame_attached_nodes(GraphFrame *p_frame, bool p_drag);