Skip to content

I used ChatGPT to assist in completing tracers.py. After many tests and comparisons with the json data returned by other languages, I can see that it can return data correctly, but there is a front-end error index.js:1375 children.map is not a function. This error does not affect the animation effect.

Notifications You must be signed in to change notification settings

HHP999/algorithm-visualizer-Python-Tracers

Repository files navigation

1. If you don't mind, you can directly put the algorithm_visualizer folder in
    the site-packages directory of the python environment, so that the user's code
    will be automatically recognized. Of course, you can also use other methods.
2. I use the script running method to link the Linux Python environment.
    Before use, please write the Python directory into the environment variable: $CodeEnvPackagesPath
3. Run the test.py or bash tracers_run script
4. This project still has unknown defects, use it with caution

1. 如果你不介意,可以直接将algorithm_visualizer文件夹放到python环境的site-packages目录下,
    这样用户的代码会自动识别。当然,你也可以使用其他方式。
2. 我使用脚本运行的方式,通过链接Linux的Python环境,使用前请将Python的目录写入环境变量:
    $CodeEnvPackagesPath
3. 运行 test.py 或者 bash tracers_run 脚本
4. 该项目还有不明缺陷,谨慎使用

About

I used ChatGPT to assist in completing tracers.py. After many tests and comparisons with the json data returned by other languages, I can see that it can return data correctly, but there is a front-end error index.js:1375 children.map is not a function. This error does not affect the animation effect.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published