VisuAlea, Towards a Scientific Modelling Environment using Visual Programming

Christophe Pradal 1, 2 Daniel Barbeau 1, 2 Thomas Cokelaer 1, 2 Eric Moscardi 2, 1
1 VIRTUAL PLANTS - Modeling plant morphogenesis at different scales, from genes to phenotype
CRISAM - Inria Sophia Antipolis - Méditerranée , INRA - Institut National de la Recherche Agronomique, Centre de coopération internationale en recherche agronomique pour le développement [CIRAD] : UMR51
Abstract : 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).
keyword : openalea visualea
Type de document :
Documents associés à des manifestations scientifiques -- Hal-inria+
EuroSciPy 2010, 2010, Paris, France. 2010
Liste complète des métadonnées


https://hal.inria.fr/hal-00831794
Contributeur : Christophe Godin <>
Soumis le : vendredi 7 juin 2013 - 16:41:43
Dernière modification le : jeudi 11 janvier 2018 - 16:44:45
Document(s) archivé(s) le : dimanche 8 septembre 2013 - 04:23:57

Fichiers

talk.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-00831794, version 1

Collections

Citation

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〉

Partager

Métriques

Consultations de la notice

586

Téléchargements de fichiers

1298