Skip to content

Commit 1435b1a

Browse files
committed
WIP updating doc
1 parent e9d6fae commit 1435b1a

4 files changed

Lines changed: 53 additions & 62 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# Visualea
2-
3-
# Package Name
42
[![Docs](https://readthedocs.org/projects/visualea/badge/?version=latest)](https://visualea.readthedocs.io/)
53
[![Build Status](https://github.com/openalea/visualea/actions/workflows/conda-package-build.yml/badge.svg?branch=master)](https://github.com/openalea/visualea/actions/workflows/conda-package-build.yml?query=branch%3Amaster)
64
[![Python Version](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](https://www.python.org/downloads/)
@@ -34,14 +32,16 @@ CecILL-C
3432
OpenAlea.Visualea is the Visual Programming Environment of OpenAlea. It allows using OpenAlea packages
3533
without programming language knowledge and to build dataflow graphically.
3634

37-
## Installation user mode
35+
## Installation
36+
37+
### user mode
3838

3939
```bash
4040
mamba create -n visualea -c openalea3 -c conda-forge openalea.visualea
4141
mamba activate visualea
4242
```
4343

44-
## for developer, in an existing environment
44+
### for developer, in an existing environment
4545

4646
```bash
4747
git clone 'https://github.com/openalea/visualea.git'
@@ -53,7 +53,7 @@ pip install -e .[options]
5353
defined in the `[project.optional-dependencies]` section of your
5454
pyproject.toml file (usually "dev", or "doc", ...)
5555

56-
## for developer, in a new clean isolated environment
56+
### for developer, in a new clean isolated environment
5757
```bash
5858
mamba env create -f conda/environment.yml
5959
mamba activate visualea

doc/_static/visualea.png

130 KB
Loading

doc/index.rst

Lines changed: 21 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,36 @@
1-
OpenAlea Visualea documentation
2-
###############################
1+
Welcome to Visualea's documentation!
2+
=====================================
33

4-
Module description
5-
==================
4+
.. include:: ../README.md
5+
:parser: myst_parser.sphinx_
66

7-
.. sidebar:: Summary
7+
Contact & Contributing
8+
----------------------
89

9-
:Version: |version|
10-
:Release: |release|
11-
:Date: |today|
12-
:Author: See `Authors`_ section
13-
:ChangeLog: See `ChangeLog`_ section
10+
For any question, please submit to https://github.com/openalea/visualea/issues.
1411

15-
.. topic:: Overview
1612

17-
.. include:: user/overview.txt
13+
Versioning
14+
----------
15+
16+
Sources are versioned on an Git repository hosted by platform GitHub: https://github.com/openalea/visualea.
17+
If you want to make your own development of the model, please fork the repository.
1818

1919
Documentation
20-
=============
20+
-------------
2121

2222
.. toctree::
2323
:maxdepth: 1
24+
:caption: Contents:
2425

25-
User Guide<user/index.rst>
26-
Reference Guide<user/autosum.rst>
27-
28-
- A `PDF <../latex/main.pdf>`_ version of |visualea| documentation is
29-
available.
30-
31-
Authors
32-
=======
33-
34-
.. include:: ../AUTHORS.txt
35-
36-
ChangeLog
37-
=========
38-
39-
.. include:: ../ChangeLog.txt
26+
user/manual.rst
27+
user/autosum.rst
4028

41-
License
42-
=======
4329

44-
|visualea| is released under a Cecill-C License.
30+
Indices and tables
31+
------------------
4532

46-
.. note:: `Cecill-C <http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html>`_
47-
license is a LGPL compatible license.
33+
* :ref:`genindex`
34+
* :ref:`modindex`
35+
* :ref:`search`
4836

49-
.. |visualea| replace:: OpenAlea.Visualea

doc/user/manual.rst

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
VisuAlea Manual
22
###############
33

4-
Visualea is a high level visual programming GUI for OpenAlea
4+
Visualea is a high level visual programming GUI for OpenAlea.
55

6-
On Linux, in a shell, run the following command::
6+
On Linux, run the following command in the conda environement
77

8-
$visualea
8+
.. code-block:: bash
99
10-
On Windows::
10+
visualea
1111
12-
Use start→ OpenAlea → Visualea
13-
Main Window
12+
On Windows
13+
14+
.. code-block:: bash
15+
16+
visualea.exe
1417
15-
CHANGE THIS PICTURE
1618
.. image:: ../_static/visualea.png
17-
:scale: 75
1819
:align: left
1920

2021
The main window is composed of :
2122
* The package manager (lists nodes),
22-
* The workspaces where one can graphically assemble dataflows,
23+
* The workspaces where dataflows are graphically assembled,
2324
* Each node has it's own graphical interface,
2425
* The python interpreter for low level interaction (with code completion)
25-
* Python code editor
2626

2727
Package Manager
2828
===============
@@ -54,15 +54,17 @@ A package has several associated informations like :
5454
These package informations are accessible from the context menu:
5555

5656
* Package Context Menu
57-
o Open Url : Open associated url
58-
o Infos : Display meta informations
57+
58+
- Open Url : Open associated url
59+
- Infos : Display meta informations
5960

6061
Each package element has also a context menu :
6162

6263
* Node (Component) Context Menu
63-
o Open : Open the node
64-
o Edit : Edit the node (Code Editor for Python node, Dataflow for Composite node)
65-
o Remove : Remove the node from the package
64+
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
6668

6769
.. note:: Tooltip are available by moving the mouse pointer on an object.
6870

@@ -79,9 +81,10 @@ Package Manager operations (menu)
7981
* → Reload all packages : search all packages on the local system
8082
* → Find Nodes : Open the search tab
8183
* → Create
82-
o → Package : Create a new user package
83-
o → Python Node : Create a new component based on python code
84-
o → Composite Node : Create a new component based on other components (Macro node)
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)
8588

8689
Workspaces
8790
----------
@@ -137,9 +140,10 @@ The graph of nodes form an expression.
137140
To evaluate the expression :
138141

139142
* Menu → Workspace → Run will evaluate all the graph
140-
* Context Menu → Run on a particular node will evaluate only the selected node and its dependencies.
143+
* Context Menu → Run on a particular node will evaluate only the selected node and its parents.
141144

142-
If you change a value of a node, the evaluation algorithm will compute only the changed nodes and their dependencies, avoiding to do several times the same computation.
145+
If you change a value of a node, the evaluation algorithm will compute only the changed nodes and their dependencies,
146+
avoiding to do several times the same computation.
143147

144148
.. deprecated::
145149
The node contained in a graph can be in different states/ The color of a node depends of its state:
@@ -240,9 +244,9 @@ At any moment, you can use the python interpreter to launch python command or sc
240244

241245
CHANGE THIS PICTURE
242246
.. image:: ../_static/ipython.png
243-
:width: 80%
244-
:height: 200px
245-
:scale: 100
247+
:width: 80%
248+
:height: 200px
249+
:scale: 100
246250

247251
The interpreter defines special variables :
248252

0 commit comments

Comments
 (0)