Hi, this week a text-only update : the goal I had this week was to implement a more real-life use-case and use that to improve and extend the editor. What better in this covid-19 period then a small dashboard to show world-wide covid-19 statistics using a countries dropdown and sub selection by province if there are any, and show that in a chart. I use
api.covid19api.com to retrieve the data. I added some tasks/node-types to filter/sort/group/select the data that is being retrieved. Since the flowrunner that I build is payload based, it’s all about manipulating/adding properties to the payload each node receives using these new tasks. The payload is a simple javascript object in the web-playground implementation of the editor.
The output is shown in a chart using a chart node that uses the echarts npm package and it is also configured by adding the full json configuration to the payload and filling the data based on the input payload.
Functionality of this “covid-19 dashboard” is still limited, but I will extend the current flow with more functionalities like selecting start and enddates. You can see the current flow in the image.