Before you begin, ensure you have the following installed on your system:
- Node.js
- Live Server (VS Code extension)
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Check and make sure that your working directory ends in
/prov-graph-js
(if not, usecd
andls
):pwd
-
Install the project dependencies:
npm install
or
npm i
This should create a node_modules folder.
-
Start the server:
node server.js
You should see the following output in the console:
running on port xxxx
-
Open
tree.html
with Live Server:- Right-click on
tree.html
in VS Code and select "Open with Live Server".
or
- Right-click on
-
Enter an event ID and number of layers into the respective input fields (to test, you can use
HcLR0ooBBBvBsP_nxiNu
and '4'): -
Click the search button to begin:
The screen should have two nodes, the node on the right represents the current process, and the node on the left represents the parent process.
-
Clicking on a leaf node will generate any child processes and display a dialog box with the necessary information about that node:
-
Selecting the reverse box and clicking on a node will generate the parent process:
-
Selecting the file or network box and clicking on a node will generate any child files or networks as well:
-
Selecting the Hide File, Hide Process or Hide Network checkboxes will hide all nodes of that respective nature:
If you wish to contribute to this project, please follow the contributing guidelines.