tracers.py
tracers.py copied to clipboard
:scroll:Visualization Library for Python
Testing
I did the `setup.py` before writing tests and then realised I was getting ahead of myself. I had planned to look into using tox to test for 3.5, 3.6, and...
Quote from Python's json module documentation: > > This module does not comply with the RFC in a strict fashion, implementing some extensions that are valid JavaScript but not valid...
It ends up inheriting functions which are not applicable to it (`selectRow`, `selectCol`, etc).
Some parameters may have been removed. Basing off the changes in algorithm-visualizer/tracers.js@15cf992f43f2be51277d9a8842e7e5c653a6fdd0 For example, `visitedCount` and `selectedCount` of `GraphTracer.addNode()` are gone.
I run tarcers.py in pycharm and Python 3.7 ‘ ![image](https://user-images.githubusercontent.com/43981435/59562755-35c86b80-9063-11e9-9e4a-2ad1a3779f97.png) ![image](https://user-images.githubusercontent.com/43981435/59562775-5d1f3880-9063-11e9-8619-9b9221ce0778.png) I am very happy to get help from you
@MarkKoz I just published the documentation for `tracers.js` (and also revised Randomize functions): https://algorithm-visualizer.github.io/tracers.js/. Let me know if you need anything else!