Nodes
8 nodes
On this page 8
Add Node
FunctionPlace a node, by its name in the node library, at a point of a graph.
Signature
AddNode(graph: Graph, name: Text, x: Number, y: Number) -> Node
Node AddNode(Graph graph, string name, double x, double y)
Parameters
| name | type | default | description |
|---|---|---|---|
| graph | Graph | — | |
| name | Text | — | |
| x | Number | — | |
| y | Number | — |
Returns
| result | Node |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Nodes
- Package
- Editor Automation
Connect
FunctionWire an output of one node to an input of another, each by its title.
Signature
Connect(from: Node, output: Text, to: Node, input: Text)
void Connect(Node from, string output, Node to, string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| from | Node | — | |
| output | Text | — | |
| to | Node | — | |
| input | Text | — |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Nodes
- Package
- Editor Automation
Find Node
FunctionA node of a graph, by its title or the name its author gave it.
Signature
FindNode(graph: Graph, title: Text) -> Node
Node FindNode(Graph graph, string title)
Parameters
| name | type | default | description |
|---|---|---|---|
| graph | Graph | — | |
| title | Text | — |
Returns
| result | Node |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Nodes
- Package
- Editor Automation
Insert After
FunctionPlace a statement, by its name in the node library, right after one and thread it into the path: whatever ran after that one runs after the new one.
Signature
InsertAfter(node: Node, name: Text) -> Node
Node InsertAfter(Node node, string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| node | Node | — | |
| name | Text | — |
Returns
| result | Node |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Nodes
- Package
- Editor Automation
Move Node
FunctionMove a node to a point of its graph.
Signature
MoveNode(node: Node, x: Number, y: Number)
void MoveNode(Node node, double x, double y)
Parameters
| name | type | default | description |
|---|---|---|---|
| node | Node | — | |
| x | Number | — | |
| y | Number | — |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Nodes
- Package
- Editor Automation
Node Position
FunctionWhere a node stands in its graph.
Signature
NodePosition(node: Node) -> (Number, Number)
(double, double) NodePosition(Node node)
Parameters
| name | type | default | description |
|---|---|---|---|
| node | Node | — |
Returns
| result | (Number, Number) |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Nodes
- Package
- Editor Automation
Remove Node
FunctionTake a node and its wires away.
Signature
RemoveNode(node: Node)
void RemoveNode(Node node)
Parameters
| name | type | default | description |
|---|---|---|---|
| node | Node | — |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Nodes
- Package
- Editor Automation
Set Input
FunctionType a value into an input of a node, as into its box on the canvas.
Signature
SetInput(node: Node, input: Text, value: Text)
void SetInput(Node node, string input, string value)
Parameters
| name | type | default | description |
|---|---|---|---|
| node | Node | — | |
| input | Text | — | |
| value | Text | — |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Nodes
- Package
- Editor Automation