Skip to content

Commit b9805a0

Browse files
committed
WIP updating doc
1 parent f028ee0 commit b9805a0

2 files changed

Lines changed: 48 additions & 64 deletions

File tree

doc/_static/ipython.png

7.02 KB
Loading

doc/user/manual.rst

Lines changed: 48 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ On Windows
1818
.. image:: ../_static/visualea.png
1919
:align: left
2020

21-
The main window is composed of :
21+
The main window is composed of:
2222
* The package manager (lists nodes),
2323
* The workspaces where dataflows are graphically assembled,
2424
* Each node has it's own graphical interface,
@@ -32,18 +32,18 @@ The package manager finds the available components on the system.
3232
:scale: 100
3333
:align: left
3434

35-
It provides different tabs :
35+
It provides different tabs:
3636

3737
* The package tab lists packages and nodes in their physical hierarchy.
3838
* The category tab sorts nodes into logical categories to ease-up lookup.
39-
* The search tab : search node by matching pattern with node name, category and description.
39+
* The search tab: search node by matching pattern with node name, category and description.
4040

4141
Package / Node / Dataflow
4242
-------------------------
4343

4444
The package manager contains packages. A package is a distribution
4545
unit containing a set of components ( node / graphs).
46-
A package has several associated informations like :
46+
A package has several associated informations like:
4747

4848
* Authors
4949
* Institutes
@@ -55,16 +55,16 @@ These package informations are accessible from the context menu:
5555

5656
* Package Context Menu
5757

58-
- Open Url : Open associated url
59-
- Infos : Display meta informations
58+
- Open Url: Open associated url
59+
- Infos: Display meta informations
6060

61-
Each package element has also a context menu :
61+
Each package element has also a context menu:
6262

6363
* Node (Component) Context Menu
6464

65-
- Open : Open the node
66-
- Edit : Edit the node (Code Editor for Python node, Dataflow for Composite node)
67-
- Remove : Remove the node from the package
65+
- Open: Open the node
66+
- Edit: Edit the node (Code Editor for Python node, Dataflow for Composite node)
67+
- Remove: Remove the node from the package
6868

6969
.. note:: Tooltip are available by moving the mouse pointer on an object.
7070

@@ -77,14 +77,15 @@ User packages / system packages
7777
Package Manager operations (menu)
7878
=================================
7979

80-
* → Load wralea_file : 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-
* → 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
8484

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
8889

8990
Workspaces
9091
----------
@@ -94,15 +95,15 @@ User can create simple process by interconnecting boxes together. A box represen
9495
Opening workspaces
9596
==================
9697

97-
You can create several workspaces :
98+
You can create several workspaces:
9899

99-
* Workspace → New empty workspace or CTRL + W
100+
* Workspace → New empty workspace or CTRL + T
100101
* Double click on a graph in the package manager. In this case the workspace contains the graph.
101102

102103
Adding new nodes
103104
================
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.
106107

107108
A node is represented by a box with input and outputs ports.
108109

@@ -122,13 +123,14 @@ You can connect the nodes between them by doing a drag and drop operation betwee
122123
:height: 200px
123124
:scale: 100
124125

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.
127128

128129
Node Graphical interface
129130
========================
130131

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.
132134

133135
The widget depends of the node, it can be a simple value editor (spinbox for numbers, text editor…), or complex editor like 3D visualizer.
134136

@@ -137,7 +139,7 @@ Running a dataflow
137139

138140
The graph of nodes form an expression.
139141

140-
To evaluate the expression :
142+
To evaluate the expression:
141143

142144
* Menu → Workspace → Run will evaluate all the graph
143145
* 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.
148150
.. deprecated::
149151
The node contained in a graph can be in different states/ The color of a node depends of its state:
150152

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
153155

154156
To change the status of a node or of a dataflow:
155157

156158
* 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
159161

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.
161163

162164
Save a dataflow / Composite Node
163165
================================
164166

165167
A Composite node is an abstraction of a dataflow graph. It is a node which contains other nodes.
166168

167-
Composite nodes are used to :
169+
Composite nodes are used to:
168170

169171
* save a dataflow
170172
* manage complexity
171173

172174
Saving a dataflow
173175
-----------------
174176

175-
To save a dataflow :
177+
To save a dataflow:
176178

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
178180

179181
This function will save the graph but also the value of the node inputs
180182

181183
Managing complexity
182184
-------------------
183185

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:
185187

186188
* Select the node you want to group/embed
187189
* Workspace → Group or CTRL +G
@@ -192,17 +194,17 @@ This function can be used to improve the readability of your graph and facilitat
192194

193195
I/O
194196
---
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:
196198

197199
* Workspace → configure I/O
198200

199-
Each input has :
201+
Each input has:
200202

201203
* a name
202204
* an interface (used for the graphical interface and for type checking)
203205
* a default value
204206

205-
Each output has :
207+
Each output has:
206208

207209
* a name
208210
* an interface (used for type checking)
@@ -212,25 +214,25 @@ Open/Save a session
212214

213215
You can save the entire session in order to keep all the data you currently use.
214216

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
218220

219221
.. warning:: This functionality is not safe and we do NOT recommand to use it. Use export as composite node instead to save your work
220222

221223
Export Application
222224
==================
223225

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.
225227

226-
The application can be previewed with the command : Workspace → Preview Application.
228+
The application can be previewed with the command: Workspace → Preview Application.
227229

228230
Data Pool
229231
---------
230232

231233
The data pool is a kind of data clipboard to store temporally computed data.
232234

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
234236
* You can re-use data of the pool in the dataflow by doing a drag and drop from the datapool list to aaninput port.
235237
* You can also access to the datapool in the interpreter (drag and drop to the interpreter will copy the correct code):
236238

@@ -242,13 +244,12 @@ Python Operations
242244

243245
At any moment, you can use the python interpreter to launch python command or scripts.
244246

245-
CHANGE THIS PICTURE
246247
.. image:: ../_static/ipython.png
247-
:width: 80%
248+
:width: 100%
248249
:height: 200px
249250
:scale: 100
250251

251-
The interpreter defines special variables :
252+
The interpreter defines special variables:
252253

253254
* session contains the different workspaces and the nodes they contain
254255
* datapool is the datapool dictionary
@@ -261,21 +262,4 @@ You can also do a drag and drop from the datapool.
261262
Preferences
262263
-----------
263264

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

Comments
 (0)