VisuAlea, Towards a Scientific Modelling Environment using Visual Programming - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Documents Associated With Scientific Events Year : 2010

VisuAlea, Towards a Scientific Modelling Environment using Visual Programming


Data-flows and Visual Programming Environments (VPE) are used in many scientific domains such as data analysis and visualisation (LabView, VTK, VisTrails, Orange). One of the main interests of VPEs is the ability for users to create and modify dataflows using a graphical interface without any specific programming knowledge.
We developed OpenAlea ( OpenAlea wiki) that is a python-based open-source software. It provides a visual programming environment, called VisuAlea , which is written in Python and PyQt. Within VisuAlea, users are able to dynamically combine existing and independent pieces of software into a customizable dataflow. Although OpenAlea and VisuAlea are mainly used in the context of plant science, they can be efficiently used in other scientific domains.
A VPE that is implemented in Python language offers several interesting points for managing scientific workflows. First, users have access to the program state at run-time and thus can introspect, modify, document and debug their workflows interactively. Second, users can build graphically complex workflow by assembling both scientific python packages (e.g., numpy, scipy and matplotlib) with other software components written in different languages (C, C++, Fortran, Java or R). Finally, the visualisation of the workflow's structure ease the communication between different users. In VisuAlea, each component is provided with a graphical interface that is automatically generated. Moreover, dataflow model of computation allows to implement lazy evaluation, and automatic parallelisation.
VPEs have major drawbacks compared to textual programming (e.g., iteration structures are difficult to represent since dataflow is a directed acyclic graph). However, solutions may be found to cope with these issues. For instance, in VisuAlea, we have introduced functional loops like map to represent iteration structures.
Although several VPE have been implemented in Python (e.g. Orange, VisTrails, Viper), their visual environments are not reusable because functional and graphical parts are not separated. In OpenAlea, we have separated the dataflow graph, the evaluation algorithm and the GUI to allow other projects to reuse only the GUI part with their own data structure. The OpenAlea.GraphEditor package implements the logic and the abstract widgets to edit any types of graph such as dataflow without dependency on other OpenAlea packages. Therefore, other projects can reuse OpenAlea.GraphEditor with their own graph data structure via a pluggable system.
In this talk, we will briefly present the status of OpenAlea/VisuAlea, dicuss the advantages and drawbacks of a visual programming language, and present some key functionalities of Visualea such as looping technics and parallelism. Then, we will present the GraphEditor package with a brief tutorial. Finally, we will present our methodology to manage the project (e.g. deployment, documentation and quality assurance using continuous integration and a compilation farm).


Fichier principal
Vignette du fichier
talk.pdf (2.58 Mo) Télécharger le fichier
Vignette du fichier
adel.png (691.65 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Format : Figure, Image

Dates and versions

hal-00831794 , version 1 (07-06-2013)


  • HAL Id : hal-00831794 , version 1


Christophe Pradal, Daniel Barbeau, Thomas Cokelaer, Eric Moscardi. VisuAlea, Towards a Scientific Modelling Environment using Visual Programming. EuroSciPy 2010, 2010, Paris, France. 2010. ⟨hal-00831794⟩
555 View
927 Download


Gmail Facebook X LinkedIn More