diff --git a/README.md b/README.md index 7d7358e1d2bf3cd2e73210479231535388fc5a28..ed13d460c90f146529f6cf297988272d7ce95dfd 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ make ## Afficher l'affichage en ligne : En étant a la racine du projet : ``` -python3 script/src/truc_test/truc_test_pyvis.py +python3 script/src/python_networkx_pyvis/truc_test_pyvis.py ``` ## Créer les graphes dans Gephi : diff --git a/script/src/__pycache__/test_pyvis.cpython-310-pytest-6.2.5.pyc b/script/src/python_networkx_pyvis/__pycache__/test_pyvis.cpython-310-pytest-6.2.5.pyc similarity index 100% rename from script/src/__pycache__/test_pyvis.cpython-310-pytest-6.2.5.pyc rename to script/src/python_networkx_pyvis/__pycache__/test_pyvis.cpython-310-pytest-6.2.5.pyc diff --git a/script/src/basic.html b/script/src/python_networkx_pyvis/basic.html similarity index 100% rename from script/src/basic.html rename to script/src/python_networkx_pyvis/basic.html diff --git a/script/src/chaatgpt_truc.html b/script/src/python_networkx_pyvis/chaatgpt_truc.html similarity index 100% rename from script/src/chaatgpt_truc.html rename to script/src/python_networkx_pyvis/chaatgpt_truc.html diff --git a/script/src/lib/bindings/utils.js b/script/src/python_networkx_pyvis/lib/bindings/utils.js similarity index 100% rename from script/src/lib/bindings/utils.js rename to script/src/python_networkx_pyvis/lib/bindings/utils.js diff --git a/script/src/lib/tom-select/tom-select.complete.min.js b/script/src/python_networkx_pyvis/lib/tom-select/tom-select.complete.min.js similarity index 100% rename from script/src/lib/tom-select/tom-select.complete.min.js rename to script/src/python_networkx_pyvis/lib/tom-select/tom-select.complete.min.js diff --git a/script/src/lib/tom-select/tom-select.css b/script/src/python_networkx_pyvis/lib/tom-select/tom-select.css similarity index 100% rename from script/src/lib/tom-select/tom-select.css rename to script/src/python_networkx_pyvis/lib/tom-select/tom-select.css diff --git a/script/src/lib/vis-9.1.2/vis-network.css b/script/src/python_networkx_pyvis/lib/vis-9.1.2/vis-network.css similarity index 100% rename from script/src/lib/vis-9.1.2/vis-network.css rename to script/src/python_networkx_pyvis/lib/vis-9.1.2/vis-network.css diff --git a/script/src/lib/vis-9.1.2/vis-network.min.js b/script/src/python_networkx_pyvis/lib/vis-9.1.2/vis-network.min.js similarity index 100% rename from script/src/lib/vis-9.1.2/vis-network.min.js rename to script/src/python_networkx_pyvis/lib/vis-9.1.2/vis-network.min.js diff --git a/script/src/nx.html b/script/src/python_networkx_pyvis/nx.html similarity index 100% rename from script/src/nx.html rename to script/src/python_networkx_pyvis/nx.html diff --git a/script/src/projection_communautes.html b/script/src/python_networkx_pyvis/projection_communautes.html similarity index 100% rename from script/src/projection_communautes.html rename to script/src/python_networkx_pyvis/projection_communautes.html diff --git a/script/src/python_truc.html b/script/src/python_networkx_pyvis/python_truc.html similarity index 100% rename from script/src/python_truc.html rename to script/src/python_networkx_pyvis/python_truc.html diff --git a/script/src/truc_test/truc_test_pyvis.py b/script/src/python_networkx_pyvis/truc_test_pyvis.py similarity index 93% rename from script/src/truc_test/truc_test_pyvis.py rename to script/src/python_networkx_pyvis/truc_test_pyvis.py index 8e09aecfd60c4ba59100bfb47f7d2053e751c43d..9f6da099facb16b3e07694b50d397d271ed6aa5e 100644 --- a/script/src/truc_test/truc_test_pyvis.py +++ b/script/src/python_networkx_pyvis/truc_test_pyvis.py @@ -15,7 +15,7 @@ def centrality_to_color(value): # 1. Lecture du graphe biparti B = nx.Graph() -path_node = "/home/agryos/Documents/Hackiie/graphe_association/res_script/nodes_sans_fantome.csv" +path_node = "res_script/nodes_sans_fantome.csv" with open(path_node, newline='') as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='|') for row in reader: @@ -27,7 +27,7 @@ with open(path_node, newline='') as csvfile: B.add_node(node_id, label=label, bipartite=categorie) # 2. Lecture des arêtes -path_edge = "/home/agryos/Documents/Hackiie/graphe_association/res_script/edges_sans_fantome.csv" +path_edge = "res_script/edges_sans_fantome.csv" with open(path_edge, newline='') as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='|') for row in reader: diff --git a/script/src/truchmiuch b/script/src/truchmiuch deleted file mode 100644 index 684c133e766eaf0912b923cd50919a98c026066a..0000000000000000000000000000000000000000 --- a/script/src/truchmiuch +++ /dev/null @@ -1,22 +0,0 @@ - -type csv - -(*Open a file as a csv file*) -let open_as_csv : string -> csv - -(*Merge two column to the new one with the function to merge*) -let merge_column : csv -> string -> string -> string -> (string -> string -> string) -> csv - -let map : csv -> string -> (string -> string) -> csv - -let map_line : csv -> ((string, string) Hashtbl.t -> 'a) -> csv - -let iter : csv -> string -> (string -> ()) -> () - -let save : csv -> string -> () - -let create : string list -> csv - -let add_line : csv -> string arr -> csv - -let create_line : csv -> string*string list -> csv