Skip to content
Snippets Groups Projects
Commit 72365b3b authored by Stahl, Merle's avatar Stahl, Merle
Browse files

aufgeräumt

parent e872074e
No related branches found
No related tags found
2 merge requests!10Output,!9Main
# Projekt CiS-Projekt 2021/22 # Projekt CiS-Projekt 2021/22
Citation Network Citation network made with **d3.js**
## Usage ## Usage
Input: Json-Datei ***json\_text.json*** in directory ### Input
Json file **json\_text.json** in directory
```json ```json
{ {
"nodes": [ "nodes": [
...@@ -26,18 +27,18 @@ Input: Json-Datei ***json\_text.json*** in directory ...@@ -26,18 +27,18 @@ Input: Json-Datei ***json\_text.json*** in directory
} }
``` ```
Starting a Python-HTTP Server: ### Display the Citation Network
Starting a python web server:
```sh ```sh
cd <path to file> &&python3 -m http.server <port> cd <path to file> &&python3 -m http.server <port>
``` ```
Access to the server:
Opening Server:
[http://0.0.0.0/:\<port\>](http://0.0.0.0/:<port>) [http://0.0.0.0/:\<port\>](http://0.0.0.0/:<port>)
## Files in directory ## Files in directory
- ***index.html***: webpage - **index.html**: webpage
- ***cn.js***: javascript code for force-directed graph, text elements and legend - **cn.js**: javascript code for force-directed graph, text elements and legend
- ***json_text.json***: example data - **json_text.json**: example data
## Authors ## Authors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment