Kanon

所属分类:数据可视化
开发工具:JavaScript
文件大小:33193KB
下载次数:0
上传日期:2022-07-09 05:05:21
上 传 者sh-1993
说明:  专门用于数据结构编程的实时编程环境。
(A live programming environment specialized for data structure programming.)

文件列表:
.babelrc (75, 2022-07-09)
Gruntfile.js (723, 2022-07-09)
LICENSE (1048, 2022-07-09)
app.js (846, 2022-07-09)
example.gif (33807173, 2022-07-09)
examples (0, 2022-07-09)
examples\basics (0, 2022-07-09)
examples\basics\AVL.js (1491, 2022-07-09)
examples\basics\binary-search-tree.js (3493, 2022-07-09)
examples\basics\doubly-linked-list.js (2904, 2022-07-09)
examples\basics\linked-list-insertSort.js (1039, 2022-07-09)
examples\basics\singular-linked-list.js (684, 2022-07-09)
examples\for_FIFA_layout (0, 2022-07-09)
examples\for_FIFA_layout\Adjacencey_Matrix.js (278, 2022-07-09)
examples\for_FIFA_layout\B+_tree.js (7521, 2022-07-09)
examples\for_FIFA_layout\array.js (74, 2022-07-09)
examples\for_FIFA_layout\array2.js (319, 2022-07-09)
examples\for_FIFA_layout\binary_tree.js (1017, 2022-07-09)
examples\for_FIFA_layout\binary_tree2.js (1122, 2022-07-09)
examples\for_FIFA_layout\circularly_list.js (399, 2022-07-09)
examples\for_FIFA_layout\dijkstra_shortest_path.js (1983, 2022-07-09)
examples\for_FIFA_layout\environment.js (2833, 2022-07-09)
examples\for_FIFA_layout\fibonacci_heap.js (4160, 2022-07-09)
examples\for_FIFA_layout\graph.js (2537, 2022-07-09)
examples\for_FIFA_layout\lambda-calculus.js (714, 2022-07-09)
examples\for_FIFA_layout\linked_list.js (453, 2022-07-09)
examples\for_FIFA_layout\linked_list2.js (502, 2022-07-09)
examples\for_FIFA_layout\list_having_array_of_tree.js (2368, 2022-07-09)
examples\for_FIFA_layout\list_having_tree.js (4663, 2022-07-09)
examples\for_FIFA_layout\list_in_list.js (748, 2022-07-09)
examples\for_FIFA_layout\list_refering_same_object.js (498, 2022-07-09)
examples\for_FIFA_layout\loval_variable_append.js (159, 2022-07-09)
examples\for_FIFA_layout\parent_child.js (585, 2022-07-09)
examples\for_FIFA_layout\q_tree.js (791, 2022-07-09)
examples\for_FIFA_layout\red_black_tree.js (7701, 2022-07-09)
... ...

# Kanon __Kanon__ is a live programming environment for data structures. While you write JavaScript code in the editor on the left-hand side, the data structures constructed during the execution of the code appears as a graph on the right-hand side. ![](https://github.com/prg-titech/Kanon/blob/master/./example.gif) ## How to use Kanon runs on your browser. Open the following page: [https://prg-titech.github.io/Kanon/](https://github.com/prg-titech/Kanon/blob/master/https://prg-titech.github.io/Kanon/). ## How to build To build __Kanon__ in your local environment, execute the following command. ``` git clone https://github.com/prg-titech/Kanon.git ``` This will copy the source code of Kanon. After downloaded, go to the Kanon directory and execute the following command. ``` npm install ``` Then, execute a following command and open http://localhost:8000/ to view the application. ``` npm start ``` (You can change the port by using `npm start -- --port=8001`). ### Desptop Application You can also use __Kanon__ by desktop application. ``` npm run-script app ``` ## Samples it is recommended that you try to use sample code that is in [samples](https://github.com/prg-titech/Kanon/blob/master/https://github.com/prg-titech/Kanon/tree/master/samples) directory if you have never used Kanon. --- ## Notes __Kanon__ uses the following libraries. - [vis.js](https://github.com/prg-titech/Kanon/blob/master/http://visjs.org) (https://github.com/almende/vis) - [Ace](https://github.com/prg-titech/Kanon/blob/master/https://ace.c9.io) (https://github.com/ajaxorg/ace) - [esprima](https://github.com/prg-titech/Kanon/blob/master/http://esprima.org) (https://github.com/jquery/esprima/tree/3.1.1) [*] - escodegen (https://github.com/estools/escodegen) - [jQuery](https://github.com/prg-titech/Kanon/blob/master/https://jquery.com/) (https://github.com/jquery/jquery) - [jQuery UI](https://github.com/prg-titech/Kanon/blob/master/https://jqueryui.com/) (https://github.com/jquery/jquery-ui) ## References - Live Editor (https://github.com/Khan/live-editor) ## LICENSE Kanon is distributed under the MIT License. See [LICENSE](https://github.com/prg-titech/Kanon/blob/master/https://github.com/prg-titech/Kanon/blob/master/LICENSE) for more information. [*]: Our repository includes esprima.js in the externals directory, which is taken from https://unpkg.com/esprima@3.1.1/dist/esprima.js .

近期下载者

相关文件


收藏者