Demo
The demo site www.pydagoras.com provides the oppertunity to update DAG inputs and see the DAG update.
First the site makes a websocket connection, the connection status can be seen on the site. This allow the browser to recieve DAG updates.
Update to the dag can be made via the input boxes under the DAG.
The following tabs match the tabs in the demo and show screen shots of the 3 example DAG images, after they have been updated.
This basic DAG is made up of 3 input nodes ( the square boxes towards the left), 3 internal nodes ( the oval shapes ) and an output on the right.
In this DAG the node D is is used twice D_1 and D_2. It could have been drawn as a single node with 2 exit lines, but this representation becomes messy as the number of nodes increases.
This DAG calculates the amount returend after cycling through 3 curreny pairs.
On the demo site, below each DAG there are input boxes for the DAG input nodes.
Under the input boxes is a toggle switch.
Depending on the state of the toggle, values can be entered one at a time, or in bulk.
These values are sent via an API to the backend.
Once the DAG has been recaluclated, its image representation will be returned to the frontend to be displayed, and the DAG will then be refreshed in the browser.
The video below shows the demo site being used, where;
- Single then multiple updates are made to a basic DAG using the GUI.
- Then the back end is used to show updates to multipe DAGs and multiple nodes.