|
@ -5,7 +5,7 @@ |
|
|
* A dynamic, browser-based visualization library. |
|
|
* A dynamic, browser-based visualization library. |
|
|
* |
|
|
* |
|
|
* @version 1.0.3-SNAPSHOT |
|
|
* @version 1.0.3-SNAPSHOT |
|
|
* @date 2014-05-28 |
|
|
|
|
|
|
|
|
* @date 2014-06-02 |
|
|
* |
|
|
* |
|
|
* @license |
|
|
* @license |
|
|
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
|
|
|
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
|
|
@ -12271,7 +12271,7 @@ var HierarchicalLayoutMixin = { |
|
|
* @private |
|
|
* @private |
|
|
*/ |
|
|
*/ |
|
|
_setupHierarchicalLayout : function() { |
|
|
_setupHierarchicalLayout : function() { |
|
|
if (this.constants.hierarchicalLayout.enabled == true) { |
|
|
|
|
|
|
|
|
if (this.constants.hierarchicalLayout.enabled == true && this.nodeIndices.length > 0) { |
|
|
if (this.constants.hierarchicalLayout.direction == "RL" || this.constants.hierarchicalLayout.direction == "DU") { |
|
|
if (this.constants.hierarchicalLayout.direction == "RL" || this.constants.hierarchicalLayout.direction == "DU") { |
|
|
this.constants.hierarchicalLayout.levelSeparation *= -1; |
|
|
this.constants.hierarchicalLayout.levelSeparation *= -1; |
|
|
} |
|
|
} |
|
|