GraphEdit is an area capable of showing various GraphNodes. It manages connection events between them.
</brief_description>
<description>
GraphEdit manages the showing of GraphNodes it contains, as well as connections and disconnections between them. Signals are sent for each of these two events. Disconnection between GraphNodes slots is disabled by default.
Create a connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode. If the connection already exists, no connection is created.
</description>
</method>
<methodname="disconnect_node">
<returntype="void">
</return>
<argumentindex="0"name="from"type="String">
</argument>
<argumentindex="1"name="from_port"type="int">
</argument>
<argumentindex="2"name="to"type="String">
</argument>
<argumentindex="3"name="to_port"type="int">
</argument>
<description>
Remove the connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode, if connection exists.
Return an Array containing the list of connections. A connection consists in a structure of the form {from_port: 0, from: "GraphNode name 0", to_port: 1, to: "GraphNode name 1" }
Signal sent at the beginning of a GraphNode movement.
</description>
</signal>
<signalname="_end_node_move">
<description>
Signal sent at the end of a GraphNode movement.
</description>
</signal>
<signalname="connection_request">
<argumentindex="0"name="from"type="String">
</argument>
<argumentindex="1"name="from_slot"type="int">
</argument>
<argumentindex="2"name="to"type="String">
</argument>
<argumentindex="3"name="to_slot"type="int">
</argument>
<description>
Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be created.
Signal sent when a GraphNode is attempted to be removed from the GraphEdit.
</description>
</signal>
<signalname="disconnection_request">
<argumentindex="0"name="from"type="String">
</argument>
<argumentindex="1"name="from_slot"type="int">
</argument>
<argumentindex="2"name="to"type="String">
</argument>
<argumentindex="3"name="to_slot"type="int">
</argument>
<description>
Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be removed.
</description>
</signal>
<signalname="duplicate_nodes_request">
<description>
Signal sent when a GraphNode is attempted to be duplicated in the GraphEdit.
Signal sent when a popup is requested. Happens on right-clicking in the GraphEdit. 'p_position' is the position of the mouse pointer when the signal is sent.