|
|
|
|
@ -11,7 +11,7 @@ Drupal.behaviors.islandora_herbarium_object_graph = {
|
|
|
|
|
var simulation = d3.forceSimulation() |
|
|
|
|
.force("link", d3.forceLink().id(function (d) { |
|
|
|
|
return d.id; |
|
|
|
|
}).distance(100).strength(1)) |
|
|
|
|
}).distance(65).strength(1)) |
|
|
|
|
.force("charge", d3.forceManyBody()) |
|
|
|
|
.force("center", d3.forceCenter(width / 2, height / 2)); |
|
|
|
|
var dataPath = "/" + settings.path.currentPath.replace('fdg', 'fdg_json'); |
|
|
|
|
|