GraphEdit

Inherits: Control < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

clip_contents

true (overrides Control)

bool

connection_lines_antialiased

true

float

connection_lines_curvature

0.5

float

connection_lines_thickness

4.0

FocusMode

focus_mode

2 (overrides Control)

GridPattern

grid_pattern

0

bool

minimap_enabled

true

float

minimap_opacity

0.65

Vector2

minimap_size

Vector2(240, 160)

PanningScheme

panning_scheme

0

bool

right_disconnects

false

Vector2

scroll_offset

Vector2(0, 0)

bool

show_arrange_button

true

bool

show_grid

true

bool

show_grid_buttons

true

bool

show_menu

true

bool

show_minimap_button

true

bool

show_zoom_buttons

true

bool

show_zoom_label

false

int

snapping_distance

20

bool

snapping_enabled

true

float

zoom

1.0

float

zoom_max

2.0736

float

zoom_min

0.232568

float

zoom_step

1.2

Methods

PackedVector2Array

_get_connection_line ( Vector2 from_position, Vector2 to_position ) virtual const

bool

_is_in_input_hotzone ( Object in_node, int in_port, Vector2 mouse_position ) virtual

bool

_is_in_output_hotzone ( Object in_node, int in_port, Vector2 mouse_position ) virtual

bool

_is_node_hover_valid ( StringName from_node, int from_port, StringName to_node, int to_port ) virtual

void

add_valid_connection_type ( int from_type, int to_type )

void

add_valid_left_disconnect_type ( int type )

void

add_valid_right_disconnect_type ( int type )

void

arrange_nodes ( )

void

attach_graph_element_to_frame ( StringName element, StringName frame )

void

clear_connections ( )

Error

connect_node ( StringName from_node, int from_port, StringName to_node, int to_port )

void

detach_graph_element_from_frame ( StringName element )

void

disconnect_node ( StringName from_node, int from_port, StringName to_node, int to_port )

void

force_connection_drag_end ( )

StringName[]

get_attached_nodes_of_frame ( StringName frame )

Dictionary

get_closest_connection_at_point ( Vector2 point, float max_distance=4.0 ) const

PackedVector2Array

get_connection_line ( Vector2 from_node, Vector2 to_node ) const

Dictionary[]

get_connection_list ( ) const

Dictionary[]

get_connections_intersecting_with_rect ( Rect2 rect ) const

GraphFrame

get_element_frame ( StringName element )

HBoxContainer

get_menu_hbox ( )

bool

is_node_connected ( StringName from_node, int from_port, StringName to_node, int to_port )

bool

is_valid_connection_type ( int from_type, int to_type ) const

void

remove_valid_connection_type ( int from_type, int to_type )

void

remove_valid_left_disconnect_type ( int type )

void

remove_valid_right_disconnect_type ( int type )

void

set_connection_activity ( StringName from_node, int from_port, StringName to_node, int to_port, float amount )

void

set_selected ( Node node )

Theme Properties

Color

activity

Color(1, 1, 1, 1)

Color

connection_hover_tint_color

Color(0, 0, 0, 0.3)

Color

connection_rim_color

Color(0.1, 0.1, 0.1, 0.6)

Color

connection_valid_target_tint_color

Color(1, 1, 1, 0.4)

Color

grid_major

Color(1, 1, 1, 0.2)

Color

grid_minor

Color(1, 1, 1, 0.05)

Color

selection_fill

Color(1, 1, 1, 0.3)

Color

selection_stroke

Color(1, 1, 1, 0.8)

int

port_hotzone_inner_extent

22

int

port_hotzone_outer_extent

26

Texture2D

grid_toggle

Texture2D

layout

Texture2D

minimap_toggle

Texture2D

snapping_toggle

Texture2D

zoom_in

Texture2D

zoom_out

Texture2D

zoom_reset

StyleBox

menu_panel

StyleBox

panel


Signals

begin_node_move ( )

There is currently no description for this signal. Please help us by contributing one!


connection_drag_ended ( )

There is currently no description for this signal. Please help us by contributing one!


connection_drag_started ( StringName from_node, int from_port, bool is_output )

There is currently no description for this signal. Please help us by contributing one!


connection_from_empty ( StringName to_node, int to_port, Vector2 release_position )

There is currently no description for this signal. Please help us by contributing one!


connection_request ( StringName from_node, int from_port, StringName to_node, int to_port )

There is currently no description for this signal. Please help us by contributing one!


connection_to_empty ( StringName from_node, int from_port, Vector2 release_position )

There is currently no description for this signal. Please help us by contributing one!


copy_nodes_request ( )

There is currently no description for this signal. Please help us by contributing one!


delete_nodes_request ( StringName[] nodes )

There is currently no description for this signal. Please help us by contributing one!


disconnection_request ( StringName from_node, int from_port, StringName to_node, int to_port )

There is currently no description for this signal. Please help us by contributing one!


duplicate_nodes_request ( )

There is currently no description for this signal. Please help us by contributing one!


end_node_move ( )

There is currently no description for this signal. Please help us by contributing one!


frame_rect_changed ( GraphFrame frame, Vector2 new_rect )

There is currently no description for this signal. Please help us by contributing one!


graph_elements_linked_to_frame_request ( Array elements, StringName frame )

There is currently no description for this signal. Please help us by contributing one!


node_deselected ( Node node )

There is currently no description for this signal. Please help us by contributing one!


node_selected ( Node node )

There is currently no description for this signal. Please help us by contributing one!


paste_nodes_request ( )

There is currently no description for this signal. Please help us by contributing one!


popup_request ( Vector2 at_position )

There is currently no description for this signal. Please help us by contributing one!


scroll_offset_changed ( Vector2 offset )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum PanningScheme:

PanningScheme SCROLL_ZOOMS = 0

There is currently no description for this enum. Please help us by contributing one!

PanningScheme SCROLL_PANS = 1

There is currently no description for this enum. Please help us by contributing one!


enum GridPattern:

GridPattern GRID_PATTERN_LINES = 0

There is currently no description for this enum. Please help us by contributing one!

GridPattern GRID_PATTERN_DOTS = 1

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

bool connection_lines_antialiased = true

  • void set_connection_lines_antialiased ( bool value )

  • bool is_connection_lines_antialiased ( )

There is currently no description for this property. Please help us by contributing one!


float connection_lines_curvature = 0.5

  • void set_connection_lines_curvature ( float value )

  • float get_connection_lines_curvature ( )

There is currently no description for this property. Please help us by contributing one!


float connection_lines_thickness = 4.0

  • void set_connection_lines_thickness ( float value )

  • float get_connection_lines_thickness ( )

There is currently no description for this property. Please help us by contributing one!


GridPattern grid_pattern = 0

There is currently no description for this property. Please help us by contributing one!


bool minimap_enabled = true

  • void set_minimap_enabled ( bool value )

  • bool is_minimap_enabled ( )

There is currently no description for this property. Please help us by contributing one!


float minimap_opacity = 0.65

  • void set_minimap_opacity ( float value )

  • float get_minimap_opacity ( )

There is currently no description for this property. Please help us by contributing one!


Vector2 minimap_size = Vector2(240, 160)

  • void set_minimap_size ( Vector2 value )

  • Vector2 get_minimap_size ( )

There is currently no description for this property. Please help us by contributing one!


PanningScheme panning_scheme = 0

There is currently no description for this property. Please help us by contributing one!


bool right_disconnects = false

  • void set_right_disconnects ( bool value )

  • bool is_right_disconnects_enabled ( )

There is currently no description for this property. Please help us by contributing one!


Vector2 scroll_offset = Vector2(0, 0)

  • void set_scroll_offset ( Vector2 value )

  • Vector2 get_scroll_offset ( )

There is currently no description for this property. Please help us by contributing one!


bool show_arrange_button = true

  • void set_show_arrange_button ( bool value )

  • bool is_showing_arrange_button ( )

There is currently no description for this property. Please help us by contributing one!


bool show_grid = true

  • void set_show_grid ( bool value )

  • bool is_showing_grid ( )

There is currently no description for this property. Please help us by contributing one!


bool show_grid_buttons = true

  • void set_show_grid_buttons ( bool value )

  • bool is_showing_grid_buttons ( )

There is currently no description for this property. Please help us by contributing one!


bool show_menu = true

  • void set_show_menu ( bool value )

  • bool is_showing_menu ( )

There is currently no description for this property. Please help us by contributing one!


bool show_minimap_button = true

  • void set_show_minimap_button ( bool value )

  • bool is_showing_minimap_button ( )

There is currently no description for this property. Please help us by contributing one!


bool show_zoom_buttons = true

  • void set_show_zoom_buttons ( bool value )

  • bool is_showing_zoom_buttons ( )

There is currently no description for this property. Please help us by contributing one!


bool show_zoom_label = false

  • void set_show_zoom_label ( bool value )

  • bool is_showing_zoom_label ( )

There is currently no description for this property. Please help us by contributing one!


int snapping_distance = 20

  • void set_snapping_distance ( int value )

  • int get_snapping_distance ( )

There is currently no description for this property. Please help us by contributing one!


bool snapping_enabled = true

  • void set_snapping_enabled ( bool value )

  • bool is_snapping_enabled ( )

There is currently no description for this property. Please help us by contributing one!


float zoom = 1.0

  • void set_zoom ( float value )

  • float get_zoom ( )

There is currently no description for this property. Please help us by contributing one!


float zoom_max = 2.0736

  • void set_zoom_max ( float value )

  • float get_zoom_max ( )

There is currently no description for this property. Please help us by contributing one!


float zoom_min = 0.232568

  • void set_zoom_min ( float value )

  • float get_zoom_min ( )

There is currently no description for this property. Please help us by contributing one!


float zoom_step = 1.2

  • void set_zoom_step ( float value )

  • float get_zoom_step ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

PackedVector2Array _get_connection_line ( Vector2 from_position, Vector2 to_position ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _is_in_input_hotzone ( Object in_node, int in_port, Vector2 mouse_position ) virtual

There is currently no description for this method. Please help us by contributing one!


bool _is_in_output_hotzone ( Object in_node, int in_port, Vector2 mouse_position ) virtual

There is currently no description for this method. Please help us by contributing one!


bool _is_node_hover_valid ( StringName from_node, int from_port, StringName to_node, int to_port ) virtual

There is currently no description for this method. Please help us by contributing one!


void add_valid_connection_type ( int from_type, int to_type )

There is currently no description for this method. Please help us by contributing one!


void add_valid_left_disconnect_type ( int type )

There is currently no description for this method. Please help us by contributing one!


void add_valid_right_disconnect_type ( int type )

There is currently no description for this method. Please help us by contributing one!


void arrange_nodes ( )

There is currently no description for this method. Please help us by contributing one!


void attach_graph_element_to_frame ( StringName element, StringName frame )

There is currently no description for this method. Please help us by contributing one!


void clear_connections ( )

There is currently no description for this method. Please help us by contributing one!


Error connect_node ( StringName from_node, int from_port, StringName to_node, int to_port )

There is currently no description for this method. Please help us by contributing one!


void detach_graph_element_from_frame ( StringName element )

There is currently no description for this method. Please help us by contributing one!


void disconnect_node ( StringName from_node, int from_port, StringName to_node, int to_port )

There is currently no description for this method. Please help us by contributing one!


void force_connection_drag_end ( )

There is currently no description for this method. Please help us by contributing one!


StringName[] get_attached_nodes_of_frame ( StringName frame )

There is currently no description for this method. Please help us by contributing one!


Dictionary get_closest_connection_at_point ( Vector2 point, float max_distance=4.0 ) const

There is currently no description for this method. Please help us by contributing one!


PackedVector2Array get_connection_line ( Vector2 from_node, Vector2 to_node ) const

There is currently no description for this method. Please help us by contributing one!


Dictionary[] get_connection_list ( ) const

There is currently no description for this method. Please help us by contributing one!


Dictionary[] get_connections_intersecting_with_rect ( Rect2 rect ) const

There is currently no description for this method. Please help us by contributing one!


GraphFrame get_element_frame ( StringName element )

There is currently no description for this method. Please help us by contributing one!


HBoxContainer get_menu_hbox ( )

There is currently no description for this method. Please help us by contributing one!


bool is_node_connected ( StringName from_node, int from_port, StringName to_node, int to_port )

There is currently no description for this method. Please help us by contributing one!


bool is_valid_connection_type ( int from_type, int to_type ) const

There is currently no description for this method. Please help us by contributing one!


void remove_valid_connection_type ( int from_type, int to_type )

There is currently no description for this method. Please help us by contributing one!


void remove_valid_left_disconnect_type ( int type )

There is currently no description for this method. Please help us by contributing one!


void remove_valid_right_disconnect_type ( int type )

There is currently no description for this method. Please help us by contributing one!


void set_connection_activity ( StringName from_node, int from_port, StringName to_node, int to_port, float amount )

There is currently no description for this method. Please help us by contributing one!


void set_selected ( Node node )

There is currently no description for this method. Please help us by contributing one!


Theme Property Descriptions

Color activity = Color(1, 1, 1, 1)

There is currently no description for this theme property. Please help us by contributing one!


Color connection_hover_tint_color = Color(0, 0, 0, 0.3)

There is currently no description for this theme property. Please help us by contributing one!


Color connection_rim_color = Color(0.1, 0.1, 0.1, 0.6)

There is currently no description for this theme property. Please help us by contributing one!


Color connection_valid_target_tint_color = Color(1, 1, 1, 0.4)

There is currently no description for this theme property. Please help us by contributing one!


Color grid_major = Color(1, 1, 1, 0.2)

There is currently no description for this theme property. Please help us by contributing one!


Color grid_minor = Color(1, 1, 1, 0.05)

There is currently no description for this theme property. Please help us by contributing one!


Color selection_fill = Color(1, 1, 1, 0.3)

There is currently no description for this theme property. Please help us by contributing one!


Color selection_stroke = Color(1, 1, 1, 0.8)

There is currently no description for this theme property. Please help us by contributing one!


int port_hotzone_inner_extent = 22

There is currently no description for this theme property. Please help us by contributing one!


int port_hotzone_outer_extent = 26

There is currently no description for this theme property. Please help us by contributing one!


Texture2D grid_toggle

There is currently no description for this theme property. Please help us by contributing one!


Texture2D layout

There is currently no description for this theme property. Please help us by contributing one!


Texture2D minimap_toggle

There is currently no description for this theme property. Please help us by contributing one!


Texture2D snapping_toggle

There is currently no description for this theme property. Please help us by contributing one!


Texture2D zoom_in

There is currently no description for this theme property. Please help us by contributing one!


Texture2D zoom_out

There is currently no description for this theme property. Please help us by contributing one!


Texture2D zoom_reset

There is currently no description for this theme property. Please help us by contributing one!


StyleBox menu_panel

There is currently no description for this theme property. Please help us by contributing one!


StyleBox panel

There is currently no description for this theme property. Please help us by contributing one!