You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graph-visualization/artifactDependenciesGraph/artifactDependenciesGraph.js
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,12 @@ function getHierarchicalVisConfiguration() {
18
18
},
19
19
},
20
20
scaling: {
21
-
max: 8,
21
+
max: 10,
22
22
},
23
23
},
24
24
physics: {
25
25
hierarchicalRepulsion: {
26
-
nodeDistance: 220,// 100
26
+
nodeDistance: 200,// 100
27
27
centralGravity: 0.6,// 0.2
28
28
springLength: 200,// 200
29
29
springConstant: 0.06,// 0.05
@@ -81,16 +81,17 @@ function getConfiguration(containerId, credentials, visConfiguration) {
81
81
},
82
82
initialCypher:
83
83
//"MATCH (a1:Artifact)-[r1:DEPENDS_ON*0..1]->(a2:Artifact) WHERE a2.topologicalSortIndex >= $startIndex AND a2.topologicalSortIndex < $endIndex RETURN a1,r1,a2 ORDER BY a2.topologicalSortIndex",
84
-
"MATCH (a1:Artifact)-[r1:DEPENDS_ON*0..1]->(a2:Artifact) WHERE a2.topologicalSortIndex >= 0 RETURN a1,r1,a2 ORDER BY a2.topologicalSortIndex SKIP toInteger($startIndex) LIMIT toInteger($blockSize)",
84
+
//"MATCH (a1:Artifact)-[r1:DEPENDS_ON*0..1]->(a2:Artifact) WHERE a2.topologicalSortIndex >= 0 RETURN a1,r1,a2 ORDER BY a2.topologicalSortIndex SKIP toInteger($startIndex) LIMIT toInteger($blockSize)",
85
+
"MATCH (a1:Artifact)-[r1:DEPENDS_ON*0..2]->(a2:Artifact) WHERE a2.topologicalSortIndex >= 0 RETURN a1,r1,a2 ORDER BY a2.topologicalSortIndex SKIP toInteger($startIndex) LIMIT toInteger($blockSize)",
0 commit comments