File tree Expand file tree Collapse file tree 4 files changed +335
-52
lines changed Expand file tree Collapse file tree 4 files changed +335
-52
lines changed 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 451451 },
452452 {
453453 "cell_type" : " code" ,
454- "execution_count" : 31 ,
454+ "execution_count" : 32 ,
455455 "metadata" : {},
456456 "outputs" : [
457457 {
463463 " <IPython.core.display.HTML object>"
464464 ]
465465 },
466- "execution_count" : 31 ,
466+ "execution_count" : 32 ,
467467 "metadata" : {},
468468 "output_type" : " execute_result"
469469 }
Original file line number Diff line number Diff line change @@ -32,6 +32,22 @@ def viz_config(algorithm_name):
3232 'caption' : False
3333 }
3434 }
35+ },
36+ "Louvain" : {
37+ "query" : "MATCH (p1:User)-[r:FRIEND]->(p2:User) RETURN *" ,
38+ "labels_json" : {
39+ 'User' : {
40+ 'caption' : 'id' ,
41+ 'size' : 'centrality' ,
42+ 'community' : 'community'
43+ }
44+ },
45+ "relationships_json" : {
46+ 'FRIEND' : {
47+ 'thickness' : 'weight' ,
48+ 'caption' : False
49+ }
50+ }
3551 }
3652 }[algorithm_name ]
3753
You can’t perform that action at this time.
0 commit comments