You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* → Reload all packages: search all packages on the local system
82
-
* → Find Nodes: Open the search tab
83
-
* → Create
80
+
* → Load package/directory: load a particular package description file
81
+
* → Reload all packages: search all packages on the local system
82
+
* → Find Nodes: Open the search tab
83
+
* → Add
84
84
85
-
- → Package : Create a new user package
86
-
- → Python Node : Create a new component based on python code
87
-
- → Composite Node : Create a new component based on other components (Macro node)
85
+
- → Package: Create a new user package
86
+
- → Composite Node: Create a new component based on other components (Macro node)
87
+
- → Python Node: Create a new component based on python code
88
+
- → Data File: Create a new data file
88
89
89
90
Workspaces
90
91
----------
@@ -94,15 +95,15 @@ User can create simple process by interconnecting boxes together. A box represen
94
95
Opening workspaces
95
96
==================
96
97
97
-
You can create several workspaces:
98
+
You can create several workspaces:
98
99
99
-
* Workspace → New empty workspace or CTRL + W
100
+
* Workspace → New empty workspace or CTRL + T
100
101
* Double click on a graph in the package manager. In this case the workspace contains the graph.
101
102
102
103
Adding new nodes
103
104
================
104
-
* You can add nodes by doing a drag and drop between the package manager and the workspace.
105
-
* You also do Copy/Paste operation directly in the workspace.
105
+
* You can add nodes by drag and drop between the package manager and the workspace.
106
+
* You can also do Copy/Paste operation directly in the workspace.
106
107
107
108
A node is represented by a box with input and outputs ports.
108
109
@@ -122,13 +123,14 @@ You can connect the nodes between them by doing a drag and drop operation betwee
122
123
:height:200px
123
124
:scale:100
124
125
125
-
* An output port can be connected to several different input ports: in this case the value will be copied to the different port
126
-
* An input port can be connected to several different output ports: in this cas the value will be the list of the different value of the connected output ports.
126
+
* An output port can be connected to several different input ports: in this case the value will be copied to the different port
127
+
* An input port can be connected to several different output ports: in this cas the value will be the list of the different value of the connected output ports.
127
128
128
129
Node Graphical interface
129
130
========================
130
131
131
-
Each node has a configuration dialog (its widget). You can open the widget with the context menu (right click → open widget).
132
+
Each node has a configuration dialog (its widget). You can open the widget with the context menu (right click → open widget)
133
+
or by double clicking the node.
132
134
133
135
The widget depends of the node, it can be a simple value editor (spinbox for numbers, text editor…), or complex editor like 3D visualizer.
134
136
@@ -137,7 +139,7 @@ Running a dataflow
137
139
138
140
The graph of nodes form an expression.
139
141
140
-
To evaluate the expression:
142
+
To evaluate the expression:
141
143
142
144
* Menu → Workspace → Run will evaluate all the graph
143
145
* Context Menu → Run on a particular node will evaluate only the selected node and its parents.
@@ -148,40 +150,40 @@ avoiding to do several times the same computation.
148
150
.. deprecated::
149
151
The node contained in a graph can be in different states/ The color of a node depends of its state:
150
152
151
-
* Red: the node need to be reevaluated
152
-
* Blue: the node doesn't need to be reevaluated
153
+
* Red: the node need to be reevaluated
154
+
* Blue: the node doesn't need to be reevaluated
153
155
154
156
To change the status of a node or of a dataflow:
155
157
156
158
* Context Menu → Reset: Reset the corresponding node
157
-
* Workspace → Reset: Reset all the dataflow
158
-
* Workspace → Invalidate: Force all nodes to be reevaluated the next time
159
+
* Workspace → Reset: Reset all the dataflow
160
+
* Workspace → Invalidate: Force all nodes to be reevaluated the next time
159
161
160
-
You can visualize the value of a port: Context Menu → Print and with tooltips.
162
+
You can visualize the value of a port: Context Menu → Print and with tooltips.
161
163
162
164
Save a dataflow / Composite Node
163
165
================================
164
166
165
167
A Composite node is an abstraction of a dataflow graph. It is a node which contains other nodes.
166
168
167
-
Composite nodes are used to:
169
+
Composite nodes are used to:
168
170
169
171
* save a dataflow
170
172
* manage complexity
171
173
172
174
Saving a dataflow
173
175
-----------------
174
176
175
-
To save a dataflow:
177
+
To save a dataflow:
176
178
177
-
* Save the workspace as a composite node: Workspace → Save as composite node or CTRL + E
179
+
* Save the workspace as a composite node: Workspace → Save as composite node or CTRL + E
178
180
179
181
This function will save the graph but also the value of the node inputs
180
182
181
183
Managing complexity
182
184
-------------------
183
185
184
-
A composite node can be reused as a normal node (a simple box). You can embed a part of a graph in a composite node:
186
+
A composite node can be reused as a normal node (a simple box). You can embed a part of a graph in a composite node:
185
187
186
188
* Select the node you want to group/embed
187
189
* Workspace → Group or CTRL +G
@@ -192,17 +194,17 @@ This function can be used to improve the readability of your graph and facilitat
192
194
193
195
I/O
194
196
---
195
-
As normal node, a composite node has inputs and outputs. They can be set:
197
+
As normal node, a composite node has inputs and outputs. They can be set:
196
198
197
199
* Workspace → configure I/O
198
200
199
-
Each input has:
201
+
Each input has:
200
202
201
203
* a name
202
204
* an interface (used for the graphical interface and for type checking)
203
205
* a default value
204
206
205
-
Each output has:
207
+
Each output has:
206
208
207
209
* a name
208
210
* an interface (used for type checking)
@@ -212,25 +214,25 @@ Open/Save a session
212
214
213
215
You can save the entire session in order to keep all the data you currently use.
214
216
215
-
* File → save session: Save the current session for a furur reuse
216
-
* File → open session: Open a previously saved session
217
-
* File → new session: reinitialize all the workspace
217
+
* File → save session: Save the current session for a furur reuse
218
+
* File → open session: Open a previously saved session
219
+
* File → new session: reinitialize all the workspace
218
220
219
221
.. warning:: This functionality is not safe and we do NOT recommand to use it. Use export as composite node instead to save your work
220
222
221
223
Export Application
222
224
==================
223
225
224
-
A graph can be exported as a standalone application (a python module): Workspace → Export to Application.
226
+
A graph can be exported as a standalone application (a python module): Workspace → Export to Application.
225
227
226
-
The application can be previewed with the command: Workspace → Preview Application.
228
+
The application can be previewed with the command: Workspace → Preview Application.
227
229
228
230
Data Pool
229
231
---------
230
232
231
233
The data pool is a kind of data clipboard to store temporally computed data.
232
234
233
-
* You can send data to the Pool: Port Context menu → Send to pool
235
+
* You can send data to the Pool: Port Context menu → Send to pool
234
236
* You can re-use data of the pool in the dataflow by doing a drag and drop from the datapool list to aaninput port.
235
237
* You can also access to the datapool in the interpreter (drag and drop to the interpreter will copy the correct code):
236
238
@@ -242,13 +244,12 @@ Python Operations
242
244
243
245
At any moment, you can use the python interpreter to launch python command or scripts.
244
246
245
-
CHANGE THIS PICTURE
246
247
.. image:: ../_static/ipython.png
247
-
:width:80%
248
+
:width:100%
248
249
:height:200px
249
250
:scale:100
250
251
251
-
The interpreter defines special variables:
252
+
The interpreter defines special variables:
252
253
253
254
* session contains the different workspaces and the nodes they contain
254
255
* datapool is the datapool dictionary
@@ -261,21 +262,4 @@ You can also do a drag and drop from the datapool.
261
262
Preferences
262
263
-----------
263
264
264
-
Interface preferences can be set via the preference dialog : Window → Preferences
265
-
266
-
Package manager
267
-
===============
268
-
269
-
This tab is used to set the directories to search for openalea packages.
270
-
271
-
.. warning:: section to be filled
272
-
273
-
Dataflow Python editor
274
-
======================
275
-
276
-
.. warning:: section to be filled
277
-
278
-
UI
279
-
==
280
-
281
-
.. warning:: section to be filled
265
+
Interface preferences can be set via the preference dialog: Window → Preferences
0 commit comments