This project aims to provide an interactive way to interact with graphs as proofs. The main functionalities provided are the creation of graphs and the modular decomposition of any inputted graph.
Building this project requires the Ocaml package manager opam.
- Ubuntu
add-apt-repository ppa:avsm/ppa apt update apt install opam
- macOs
# Homebrew brew install opam # MacPort port install opam
- Windows It is recommended to use WSL or Cygwin to build this project using windows.
Once opam is installed, it can be used to install Ocaml.
- Ocaml 4.13 or later
- Js_of_ocaml 4.0 or later
- Yojson 1.7 or later
- Base 4.13 or later
- Clone the repo
git clone https://github.com/Remyjck/modular_decomposition.git
- Go into the Ocaml project directory
cd quartic
- Install opam packages
opam install . --deps-only
- Build the project files
dune build
Building the projects generates a main.bc.js
file in the _build/default/src/
subdirectory of quartic/
. This JavaScript file is then used by index.html
to run the project. Once the project is built, it is thus only necessary to open index.html
with the browser of your choice.