Skip to content

Commit

Permalink
Documentation intialised
Browse files Browse the repository at this point in the history
  • Loading branch information
ASHS21 committed Apr 28, 2024
1 parent c62d746 commit 778ece0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dashboards/graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ <h1></h1>


// parsing and collecting nodes and edges from the python
nodes = new vis.DataSet([{"color": "green", "font": {"color": "white"}, "id": "1947", "label": "AST-02.10-AutomatedLocationTracking", "shape": "dot"}, {"color": "orange", "font": {"color": "white"}, "id": "2771", "label": "Low", "shape": "dot", "size": 15}, {"color": "green", "font": {"color": "white"}, "id": "1127", "label": "1127", "shape": "dot"}, {"color": "green", "font": {"color": "white"}, "id": "1095", "label": "1095", "shape": "dot"}, {"color": "green", "font": {"color": "white"}, "id": "1094", "label": "1094", "shape": "dot"}, {"color": "green", "font": {"color": "white"}, "id": "1093", "label": "1093", "shape": "dot"}, {"color": "blue", "font": {"color": "white"}, "id": "1092", "label": "CaseName_1", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1091", "label": "Vulnerability_2", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1096", "label": "Vulnerability_14", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1090", "label": "Vulnerability_11", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1126", "label": "Vulnerability_100", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1946", "label": "Vulnerability_1", "shape": "dot"}]);
edges = new vis.DataSet([{"from": "1947", "to": "2771"}, {"from": "1127", "to": "2771"}, {"from": "1095", "to": "2771"}, {"from": "1094", "to": "2771"}, {"from": "1093", "to": "2771"}, {"from": "1092", "to": "2771"}, {"from": "1091", "to": "2771"}, {"from": "1096", "to": "2771"}, {"from": "1090", "to": "2771"}, {"from": "1126", "to": "2771"}, {"from": "1946", "to": "2771"}]);
nodes = new vis.DataSet([{"color": "green", "font": {"color": "white"}, "id": "1947", "label": "1947", "shape": "dot"}, {"color": "orange", "font": {"color": "white"}, "id": "1093", "label": "Low", "shape": "dot", "size": 15}, {"color": "green", "font": {"color": "white"}, "id": "1946", "label": "1946", "shape": "dot"}, {"color": "green", "font": {"color": "white"}, "id": "1130", "label": "1130", "shape": "dot"}, {"color": "green", "font": {"color": "white"}, "id": "1129", "label": "1129", "shape": "dot"}, {"color": "green", "font": {"color": "white"}, "id": "1128", "label": "1128", "shape": "dot"}, {"color": "blue", "font": {"color": "white"}, "id": "1127", "label": "CaseName_1", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1126", "label": "Vulnerability_2", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1096", "label": "Vulnerability_14", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1095", "label": "Vulnerability_11", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1094", "label": "Vulnerability_100", "shape": "dot"}, {"color": "red", "font": {"color": "white"}, "id": "1092", "label": "Vulnerability_1", "shape": "dot"}]);
edges = new vis.DataSet([{"from": "1947", "to": "1093"}, {"from": "1946", "to": "1093"}, {"from": "1130", "to": "1093"}, {"from": "1129", "to": "1093"}, {"from": "1128", "to": "1093"}, {"from": "1127", "to": "1093"}, {"from": "1126", "to": "1093"}, {"from": "1096", "to": "1093"}, {"from": "1095", "to": "1093"}, {"from": "1094", "to": "1093"}, {"from": "1092", "to": "1093"}]);

nodeColors = {};
allNodes = nodes.get({ returnType: "Object" });
Expand Down
12 changes: 6 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Here is the guide to help you navigate through the repos and getting the project

## Pre-requisites

* Python
* Python3
* Neo4j
* Protege
*


## Project layout

mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
Clonning the Github reository
Installing Protege (Ontology Editor)
Installing Neo4j Desktop (GraphDB)
Running the Dashboard
21 changes: 21 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
neo4j
networkx
networkx
matplotlib
plotly
py2neo
scipy
fitz
pandas
infomap
owlready2
seaborn
numpy
Scikit-learn
rdflib
scipy
streamlit
pyvis.network
pydeck
altair
geopy

0 comments on commit 778ece0

Please sign in to comment.