DynamicGraphsProvider commited on
Commit
9c9298b
·
verified ·
1 Parent(s): 1b8cc7e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md CHANGED
@@ -4,3 +4,41 @@ license: mit
4
 
5
  # The GraphTide Real-World Dynamic Graph Datasets
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  # The GraphTide Real-World Dynamic Graph Datasets
6
 
7
+ GraphTide is a collection of large dynamic graph datasets in a compact binary
8
+ format for streaming graph algorithms, dynamic graph benchmarks, and temporal
9
+ graph analysis.
10
+
11
+ Download the source code from [`wheatman/GraphTide`](https://github.com/wheatman/GraphTide).
12
+ It contains the binary IO spec, Python readers/converters, source parsers, and C++ analysis code.
13
+
14
+ ## Layout
15
+ ```text
16
+ signal_graphs/ insert-only temporal edge streams
17
+ update_graphs/ explicit edge insert/delete streams
18
+ ```
19
+
20
+ ## Download
21
+ The full dataset is large, so download only the files you need when possible.
22
+ ```bash
23
+ pip install -U huggingface_hub
24
+ huggingface-cli download DynamicGraphsProvider/GraphTide \
25
+ signal_graphs/soc-youtube-growth.bin \
26
+ --repo-type dataset --local-dir GraphTide
27
+ ```
28
+ To clone everything:
29
+ ```bash
30
+ git lfs install
31
+ git clone https://huggingface.co/datasets/DynamicGraphsProvider/GraphTide
32
+ ```
33
+
34
+ ## Binary Format
35
+ Each file starts with a 32-byte little-endian header: three `uint64` values
36
+ (`num_vertices`, `num_unique_edges`, `total_updates`), five `uint8` values
37
+ (`signal`, `vertex_id_type`, `timestamp_type`, `directed`, `weight_type`), and
38
+ three padding bytes.
39
+ Rows contain `src`, `dst`, optional `timestamp`, optional `weight`, and for
40
+ update graphs an `info` byte. The shipped files are directed, unweighted, and use
41
+ `UINT32` vertex IDs and `UINT32` timestamps.
42
+
43
+ See https://github.com/wheatman/GraphTide/blob/main/IO/README.md for details.
44
+