Algorithm Viewer: Run / Step for Flowcharts
Makes flowcharts created with tiny_algorithm interactive for readers, in pages, course summaries, forums and quiz text.
Features
- Run / Step / Reset with the current block highlighted and a speed slider.
- Console with input, variable watch and generated code (Python, C, C++, Java, C#, JavaScript, Pascal) beside the diagram.
- Zoom buttons and Ctrl + mouse wheel.
- Runs in the reader's browser: nothing is sent to the server.
- Opt-in per diagram: only diagrams inserted with the Interactive option are replaced.
- Edit and test: when the teacher allows it, students edit their own copy and run the teacher's tests.
What's new in 1.0.0
- Stable release.
- Generated code beside the diagram also in C++, JavaScript and Pascal (with tiny_algorithm 1.0).
- The texts of the viewer come from the Moodle language files and can be translated in AMOS.
- Since 0.5: on diagrams where the teacher allows it, students edit their own copy, run the teacher's tests, restore the original, use full screen and optionally see the solution.
Requirements
- Moodle 4.5 LTS to 5.3 (PHP as required by your Moodle version).
- The tiny_algorithm plugin, version 1.0.0 or newer. After installing, switch the filter On in Site administration, Plugins, Filters, Manage filters.
Privacy
The program runs in the reader's browser and nothing is sent anywhere. Two display preferences (code and variable panels) and the student's own copy of an editable diagram are kept in the browser's local storage. The plugin implements the Moodle Privacy API (no personal data stored).
Languages: English and Serbian (Latin and Cyrillic). Source, documentation and issue tracker:
github.com/blagojevicboban/moodle-filter_algorithm.
Licensed under the GNU GPL v3 or later.