Small React web application to visualize binary trees.
Binary trees can be created with either integer numbers or names (strings). Numbers are stored numerically in the Binary Search Tree, strings alphabetical.
.github/workflows/
: contains the file for the CI/CD action.public/
: contains public assets for the web application.src/
: contains all the source files.src/components/
: contains the React components used for this project.src/style/
: contains the css files and assets for the layout of the web application.src/tree-lib/BinaryTree.js
: file that contains Binary Tree data structure.other files
: the other files are created by React except for the config.js file which contains the configuration for the graph display.
package.json
: file that contains all dependencies for this project.
In order to install and run the project locally, use the following steps:
- Clone this repository using
git clone https://github.com/luck18210/BinaryTree.git
- Make sure Node package manager (npm) or yarn is installed and run either
npm install
oryarn install
at the root of this project.