A GraphNode is a container with several input and output slots allowing connections between GraphNodes. Slots can have different, incompatible types.
</brief_description>
<description>
A GraphNode is a container defined by a title. It can have 1 or more input and output slots, which can be enabled (shown) or disabled (not shown) and have different (incompatible) types. Colors can also be assigned to slots. A tuple of input and output slots is defined for each GUI element included in the GraphNode. Input and output connections are left and right slots, but only enabled slots are counted as connections.
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<methodname="clear_all_slots">
<returntype="void">
</return>
<description>
Disable all input and output slots of the GraphNode.
</description>
</method>
<methodname="clear_slot">
<returntype="void">
</return>
<argumentindex="0"name="idx"type="int">
</argument>
<description>
Disable input and output slot whose index is 'idx'.
</description>
</method>
<methodname="get_connection_input_color">
<returntype="Color">
</return>
<argumentindex="0"name="idx"type="int">
</argument>
<description>
Return the color of the input connection 'idx'.
</description>
</method>
<methodname="get_connection_input_count">
<returntype="int">
</return>
<description>
Return the number of enabled input slots (connections) to the GraphNode.
</description>
</method>
<methodname="get_connection_input_pos">
<returntype="Vector2">
</return>
<argumentindex="0"name="idx"type="int">
</argument>
<description>
Return the position of the input connection 'idx'.
</description>
</method>
<methodname="get_connection_input_type">
<returntype="int">
</return>
<argumentindex="0"name="idx"type="int">
</argument>
<description>
Return the type of the input connection 'idx'.
</description>
</method>
<methodname="get_connection_output_color">
<returntype="Color">
</return>
<argumentindex="0"name="idx"type="int">
</argument>
<description>
Return the color of the output connection 'idx'.
</description>
</method>
<methodname="get_connection_output_count">
<returntype="int">
</return>
<description>
Return the number of enabled output slots (connections) of the GraphNode.
</description>
</method>
<methodname="get_connection_output_pos">
<returntype="Vector2">
</return>
<argumentindex="0"name="idx"type="int">
</argument>
<description>
Return the position of the output connection 'idx'.
Show the close button on the GraphNode if 'show' is true (disabled by default). If enabled, a connection on the signal close_request is needed for the close button to work.