GraphNode

Inherits: GraphElement < Container < Control < CanvasItem < Node < Object

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

Properties

bool

ignore_invalid_connection_type

false

MouseFilter

mouse_filter

0 (overrides Control)

String

title

""

Methods

void

_draw_port ( int slot_index, Vector2i position, bool left, Color color ) virtual

void

clear_all_slots ( )

void

clear_slot ( int slot_index )

Color

get_input_port_color ( int port_idx )

int

get_input_port_count ( )

Vector2

get_input_port_position ( int port_idx )

int

get_input_port_slot ( int port_idx )

int

get_input_port_type ( int port_idx )

Color

get_output_port_color ( int port_idx )

int

get_output_port_count ( )

Vector2

get_output_port_position ( int port_idx )

int

get_output_port_slot ( int port_idx )

int

get_output_port_type ( int port_idx )

Color

get_slot_color_left ( int slot_index ) const

Color

get_slot_color_right ( int slot_index ) const

Texture2D

get_slot_custom_icon_left ( int slot_index ) const

Texture2D

get_slot_custom_icon_right ( int slot_index ) const

int

get_slot_type_left ( int slot_index ) const

int

get_slot_type_right ( int slot_index ) const

HBoxContainer

get_titlebar_hbox ( )

bool

is_slot_draw_stylebox ( int slot_index ) const

bool

is_slot_enabled_left ( int slot_index ) const

bool

is_slot_enabled_right ( int slot_index ) const

void

set_slot ( int slot_index, bool enable_left_port, int type_left, Color color_left, bool enable_right_port, int type_right, Color color_right, Texture2D custom_icon_left=null, Texture2D custom_icon_right=null, bool draw_stylebox=true )

void

set_slot_color_left ( int slot_index, Color color )

void

set_slot_color_right ( int slot_index, Color color )

void

set_slot_custom_icon_left ( int slot_index, Texture2D custom_icon )

void

set_slot_custom_icon_right ( int slot_index, Texture2D custom_icon )

void

set_slot_draw_stylebox ( int slot_index, bool enable )

void

set_slot_enabled_left ( int slot_index, bool enable )

void

set_slot_enabled_right ( int slot_index, bool enable )

void

set_slot_type_left ( int slot_index, int type )

void

set_slot_type_right ( int slot_index, int type )

Theme Properties

Color

resizer_color

Color(0.875, 0.875, 0.875, 1)

int

port_h_offset

0

int

separation

2

Texture2D

port

StyleBox

panel

StyleBox

panel_selected

StyleBox

slot

StyleBox

titlebar

StyleBox

titlebar_selected


Signals

slot_updated ( int slot_index )

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


Property Descriptions

bool ignore_invalid_connection_type = false

  • void set_ignore_invalid_connection_type ( bool value )

  • bool is_ignoring_valid_connection_type ( )

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


String title = ""

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


Method Descriptions

void _draw_port ( int slot_index, Vector2i position, bool left, Color color ) virtual

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


void clear_all_slots ( )

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


void clear_slot ( int slot_index )

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


Color get_input_port_color ( int port_idx )

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


int get_input_port_count ( )

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


Vector2 get_input_port_position ( int port_idx )

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


int get_input_port_slot ( int port_idx )

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


int get_input_port_type ( int port_idx )

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


Color get_output_port_color ( int port_idx )

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


int get_output_port_count ( )

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


Vector2 get_output_port_position ( int port_idx )

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


int get_output_port_slot ( int port_idx )

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


int get_output_port_type ( int port_idx )

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


Color get_slot_color_left ( int slot_index ) const

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


Color get_slot_color_right ( int slot_index ) const

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


Texture2D get_slot_custom_icon_left ( int slot_index ) const

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


Texture2D get_slot_custom_icon_right ( int slot_index ) const

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


int get_slot_type_left ( int slot_index ) const

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


int get_slot_type_right ( int slot_index ) const

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


HBoxContainer get_titlebar_hbox ( )

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


bool is_slot_draw_stylebox ( int slot_index ) const

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


bool is_slot_enabled_left ( int slot_index ) const

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


bool is_slot_enabled_right ( int slot_index ) const

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


void set_slot ( int slot_index, bool enable_left_port, int type_left, Color color_left, bool enable_right_port, int type_right, Color color_right, Texture2D custom_icon_left=null, Texture2D custom_icon_right=null, bool draw_stylebox=true )

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


void set_slot_color_left ( int slot_index, Color color )

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


void set_slot_color_right ( int slot_index, Color color )

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


void set_slot_custom_icon_left ( int slot_index, Texture2D custom_icon )

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


void set_slot_custom_icon_right ( int slot_index, Texture2D custom_icon )

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


void set_slot_draw_stylebox ( int slot_index, bool enable )

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


void set_slot_enabled_left ( int slot_index, bool enable )

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


void set_slot_enabled_right ( int slot_index, bool enable )

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


void set_slot_type_left ( int slot_index, int type )

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


void set_slot_type_right ( int slot_index, int type )

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


Theme Property Descriptions

Color resizer_color = Color(0.875, 0.875, 0.875, 1)

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


int port_h_offset = 0

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


int separation = 2

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


Texture2D port

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!


StyleBox panel_selected

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


StyleBox slot

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


StyleBox titlebar

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


StyleBox titlebar_selected

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