Skip to content

Commit e657a10

Browse files
committed
Changed default attraction value.
1 parent cff8bec commit e657a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/force-directed-layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Layout.ForceDirected = function(graph, options) {
4242
var options = options || {};
4343

4444
this.layout = options.layout || "2d";
45-
this.attraction_multiplier = options.attraction || 0.75;
45+
this.attraction_multiplier = options.attraction || 5;
4646
this.repulsion_multiplier = options.repulsion || 0.75;
4747
this.max_iterations = options.iterations || 1000;
4848
this.graph = graph;

0 commit comments

Comments
 (0)