|
|
@ -5,7 +5,7 @@ |
|
|
|
* A dynamic, browser-based visualization library. |
|
|
|
* |
|
|
|
* @version 1.0.3-SNAPSHOT |
|
|
|
* @date 2014-05-28 |
|
|
|
* @date 2014-06-02 |
|
|
|
* |
|
|
|
* @license |
|
|
|
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
|
|
|
@ -12271,7 +12271,7 @@ var HierarchicalLayoutMixin = { |
|
|
|
* @private |
|
|
|
*/ |
|
|
|
_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") { |
|
|
|
this.constants.hierarchicalLayout.levelSeparation *= -1; |
|
|
|
} |
|
|
|