Skip to content

Commit 59ca049

Browse files
revisit tutorial
1 parent 4e88944 commit 59ca049

File tree

6 files changed

+15
-3
lines changed

6 files changed

+15
-3
lines changed

GNNGraphs/docs/src/guides/temporalgraph.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ TemporalSnapshotsGNNGraph:
5656
num_edges: [32, 30, 34]
5757
num_snapshots: 3
5858
```
59+
5960
## Indexing
6061

6162
Snapshots in a temporal graph can be accessed using indexing:
@@ -85,6 +86,7 @@ GNNGraph:
8586
num_nodes: 10
8687
num_edges: 16
8788
```
89+
8890
## Iteration and Broadcasting
8991

9092
Iteration and broadcasting over a temporal graph is similar to that of a vector of snapshots:

GraphNeuralNetworks/docs/Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ GraphMakie = "1ecd5474-83a3-4783-bb4f-06765db800d2"
1010
GraphNeuralNetworks = "cffab07f-9bc2-4db1-8861-388f63bf7694"
1111
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1212
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
13+
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
1314
MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458"
1415
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
1516
PlutoStaticHTML = "359b1769-a58e-495b-9770-312e911026ad"
@@ -19,3 +20,6 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1920
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2021
TSne = "24678dba-d5e9-5843-a4c6-250288b04835"
2122
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
23+
24+
[compat]
25+
Literate = "2.20"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
using Literate
2+
3+
ENV["DATADEPS_ALWAYS_ACCEPT"] = true
4+
5+
Literate.markdown("src_tutorials/introductory_tutorials/temporal_graph_classification.jl",
6+
"src/tutorials/"; execute = true)

GraphNeuralNetworks/docs/make_tutorials_pluto.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ build_notebooks(bopt,
2222
move_tutorials("src_tutorials/introductory_tutorials/", "src/tutorials/")
2323

2424
# Build temporal tutorials
25-
bopt_temp = BuildOptions("src_tutorials/temporalconv_tutorials/";
25+
bopt_temp = BuildOptions("src_tutorials/";
2626
output_format = documenter_output, use_distributed = false)
2727

2828
build_notebooks(
2929
BuildOptions(bopt_temp;
3030
output_format = documenter_output),
31-
["temporal_graph_classification_pluto.jl", "traffic_prediction.jl"],
31+
["traffic_prediction.jl"],
3232
OutputOptions()
3333
)
3434

35-
move_tutorials("src_tutorials/temporalconv_tutorials/", "src/tutorials/")
35+
move_tutorials("src_tutorials/", "src/tutorials/")

0 commit comments

Comments
 (0)