Dataflow Editor - sakura-team/sakura GitHub Wiki

The Dataflow editor allows to analyse data by building a workflow of Sakura operators. The initial design was done as part of an internship.

The editor consists of two parts: (1) the Panels List, a left vertical part that contains lists of operators, grouped by a user's chosen theme, and (2) the Main Workspace, where the dataflow is created by placing and linking operators. A dataflow can be made of operators, links and comments.

Panels List

A new panel is created by clicking on the '+' button. This opens a modal where one can select the operators he wants in the future panel. A title can also be defined.

The new panel appears on bottom of the existing ones, and it consists of a header and a list of operators (represented by their icon). The header consists of the panel title and 3 icons: open/close the panel (as an accordion), modify the panel (this opens the creation modal), and delete.

Main Workspace

This is the place where the user drag and drop, move, and link operators for creating the dataflow. A right click on this space opens a contextual modal, with two functions: clear the workspace (this deletes all the operators and links), and add a comment.

Planned features

  • Use the 'online' flag of operators and links: update GUI (grey out offline items), in order to show the user that some parts of a workflow are currently unavailable (daemon is down).
  • Manage partial results: use time credits when requesting data to the hub (as the map operator does), and let the user know when data is not complete or computed on partial data.