From 778ece0781d6751b80e2af33f1e87770bce80bc5 Mon Sep 17 00:00:00 2001 From: ASHS21 Date: Sun, 28 Apr 2024 16:02:33 +0100 Subject: [PATCH] Documentation intialised --- dashboards/graph.html | 4 ++-- docs/index.md | 12 ++++++------ requirements.txt | 21 +++++++++++++++++++++ 3 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 requirements.txt diff --git a/dashboards/graph.html b/dashboards/graph.html index 25de89c..e85f2e1 100644 --- a/dashboards/graph.html +++ b/dashboards/graph.html @@ -88,8 +88,8 @@

// 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" }); diff --git a/docs/index.md b/docs/index.md index da63b15..7d613bc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4929cd6 --- /dev/null +++ b/requirements.txt @@ -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 \ No newline at end of file