2022-05-17 17:10:49 +02:00
|
|
|
# WAVL Tree Visualization
|
2022-05-01 17:10:46 +02:00
|
|
|
|
2022-05-17 17:10:49 +02:00
|
|
|
## Used dependencies
|
2021-07-28 21:20:02 +02:00
|
|
|
|
2022-05-17 17:10:49 +02:00
|
|
|
- `d3`, `d3-graphviz` and `WASM` - used for rendering the DOT files and animating
|
|
|
|
- `bootstrap` - used for CSS and frontend elements
|
2021-07-28 21:20:02 +02:00
|
|
|
|
2022-05-17 17:10:49 +02:00
|
|
|
They are fetched via CDN (Content Delivery Network), so you need internet connection,
|
|
|
|
unless they are cached (may differ with browsers).
|
|
|
|
|
|
|
|
## Running
|
|
|
|
|
|
|
|
Simply run an HTTP server from the root of the directory containing web, e.g.
|
|
|
|
|
|
|
|
mfocko@feynman on main at 16:18:00
|
|
|
|
web λ python3 -m http.server
|
|
|
|
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
|
|
|
|
|
|
|
|
and follow the link it gives you :)
|
|
|
|
|
|
|
|
## Makefile
|
|
|
|
|
|
|
|
Targets to ease the quality of life.
|
|
|
|
|
|
|
|
### `run`
|
|
|
|
|
|
|
|
Alias to `python3 -m http.server`
|
|
|
|
|
|
|
|
### `deploy`
|
|
|
|
|
|
|
|
Deploys the page to https://me.mfocko.xyz/wavl/web
|