Skip to content

Commit 7784398

Browse files
committed
Provide examples on how to set query parameters
1 parent cf3fec7 commit 7784398

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Example on how to set the parameters for centrality in this case for Packages and PageRank
2+
3+
:params {
4+
"dependencies_projection": "package-centrality",
5+
"dependencies_projection_node": "Package",
6+
"dependencies_projection_weight_property": "weight25PercentInterfaces",
7+
"dependencies_projection_write_property": "centralityPageRank",
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Example on how to set the parameters for community detaction in this case for Packages and Leiden
2+
3+
:params {
4+
"dependencies_projection": "package-community",
5+
"dependencies_projection_node": "Package",
6+
"dependencies_projection_weight_property": "weight25PercentInterfaces",
7+
"dependencies_projection_write_property": "leidenCommunityId",
8+
"dependencies_leiden_gamma": "1.14",
9+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Example on how to set the parameters for the dependencies projection in this case for Packages and the useage with PageRank
2+
3+
:params {
4+
"dependencies_projection": "package-centrality",
5+
"dependencies_projection_node": "Package",
6+
"dependencies_projection_weight_property": "weight25PercentInterfaces",
7+
"dependencies_projection_write_property": "centralityPageRank",
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Example on how to set the parameters for similarity in this case for Packages and Node Similarity
2+
3+
:params {
4+
"dependencies_projection": "package-similarity",
5+
"dependencies_projection_node": "Package",
6+
"dependencies_projection_weight_property": "weight25PercentInterfaces",
7+
"dependencies_projection_write_property": "similarityScore",
8+
}

0 commit comments

Comments
 (0)