File tree Expand file tree Collapse file tree 4 files changed +634
-64
lines changed Expand file tree Collapse file tree 4 files changed +634
-64
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,16 @@ python generate_notebook.py \
26
26
" https://github.com/neo4j-contrib/neo4j-graph-algorithms/raw/3.2/doc/asciidoc/connected-components.adoc" \
27
27
" https://github.com/neo4j-contrib/neo4j-graph-algorithms/raw/3.2/doc/asciidoc/scripts/connected-components.cypher" \
28
28
" unweighted-stream-sample-graph" \
29
- " unweighted-stream-sample-graph-explanation"
29
+ " unweighted-stream-sample-graph-explanation" \
30
+ " unweighted-write-sample-graph"
30
31
31
32
python generate_notebook.py \
32
33
" Weighted Connected Components" \
33
34
" https://github.com/neo4j-contrib/neo4j-graph-algorithms/raw/3.2/doc/asciidoc/connected-components.adoc" \
34
35
" https://github.com/neo4j-contrib/neo4j-graph-algorithms/raw/3.2/doc/asciidoc/scripts/connected-components.cypher" \
35
36
" weighted-stream-sample-graph" \
36
- " weighted-stream-sample-graph-explanation"
37
+ " weighted-stream-sample-graph-explanation" \
38
+ " weighted-write-sample-graph"
37
39
38
40
python generate_notebook.py \
39
41
" Strongly Connected Components" \
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -78,6 +78,36 @@ def viz_config(algorithm_name):
78
78
'caption' : False
79
79
}
80
80
}
81
+ },
82
+ "Unweighted Connected Components" : {
83
+ "query" : "MATCH (p1:User)-[r:FRIEND]->(p2:User) RETURN *" ,
84
+ "labels_json" : {
85
+ 'User' : {
86
+ 'caption' : 'id' ,
87
+ 'community' : 'partition'
88
+ }
89
+ },
90
+ "relationships_json" : {
91
+ 'FRIEND' : {
92
+ 'thickness' : 'weight' ,
93
+ 'caption' : False
94
+ }
95
+ }
96
+ },
97
+ "Weighted Connected Components" : {
98
+ "query" : "MATCH (p1:User)-[r:FRIEND]->(p2:User) RETURN *" ,
99
+ "labels_json" : {
100
+ 'User' : {
101
+ 'caption' : 'id' ,
102
+ 'community' : 'partition'
103
+ }
104
+ },
105
+ "relationships_json" : {
106
+ 'FRIEND' : {
107
+ 'thickness' : 'weight' ,
108
+ 'caption' : False
109
+ }
110
+ }
81
111
}
82
112
}[algorithm_name ]
83
113
You can’t perform that action at this time.
0 commit comments