From b80bc73a179cae249121ac3c93fd771978c05bb0 Mon Sep 17 00:00:00 2001 From: George Marques Date: Tue, 30 Jan 2018 22:09:41 -0200 Subject: Expose a few GraphEdit methods to script languages --- doc/classes/GraphEdit.xml | 77 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) (limited to 'doc/classes/GraphEdit.xml') diff --git a/doc/classes/GraphEdit.xml b/doc/classes/GraphEdit.xml index 39d6ebc16..2090155e8 100644 --- a/doc/classes/GraphEdit.xml +++ b/doc/classes/GraphEdit.xml @@ -12,6 +12,42 @@ + + + + + + + + + Makes possible the connection between two different slot types. The type is defined with the [method GraphNode.set_slot] method. + + + + + + + + + Makes possible to disconnect nodes when dragging from the slot at the left if it has the specified type. + + + + + + + + + Makes possible to disconnect nodes when dragging from the slot at the right if it has the specified type. + + + + + + + Remove all connections between nodes. + + @@ -64,12 +100,53 @@ Return true if the 'from_port' slot of 'from' GraphNode is connected to the 'to_port' slot of 'to' GraphNode. + + + + + + + + + Returns whether it's possible to connect slots of the specified types. + + + + + + + + + + + Makes it not possible to connect between two different slot types. The type is defined with the [method GraphNode.set_slot] method. + + + + + + + + + Removes the possibility to disconnect nodes when dragging from the slot at the left if it has the specified type. + + + + + + + + + Removes the possibility to disconnect nodes when dragging from the slot at the right if it has the specified type. + + + Sets the specified [code]node[/code] as the one selected. -- cgit v1.2.3-70-g09d2