GraphFrame is a special GraphElement to which other GraphElements can be attached. It can be configured to automatically resize to enclose all attached GraphElements. If the frame is moved, all the attached GraphElements inside it will be moved as well.
A GraphFrame is always kept behind the connection layer and other GraphElements inside a GraphEdit.
Emitted when autoshrink_enabled or autoshrink_margin changes.
If true
, the frame's rect will be adjusted automatically to enclose all attached GraphElements.
The margin around the attached nodes that is used to calculate the size of the frame when autoshrink_enabled is true
.
The margin inside the frame that can be used to drag the frame.
The color of the frame when tint_color_enabled is true
.
If true
, the tint color will be used to tint the frame.
Title of the frame.
Returns the HBoxContainer used for the title bar, only containing a Label for displaying the title by default.
This can be used to add custom controls to the title bar such as option or close buttons.