Normally, arrays and trees default to {center: true} on their layout. However, if you add {top: 10} to the constructor, the default horizontal centering gets lost. Not only that, but explicitly adding {center: true} will not have any effect.
AV/General/UFfigCON.js illustrates the problem. This diagram appears as the first figure of the UnionFind module: http://algoviz.org/OpenDSA/dev/OpenDSA/Books/CS3114/html/UnionFind.html.
Normally, arrays and trees default to {center: true} on their layout. However, if you add {top: 10} to the constructor, the default horizontal centering gets lost. Not only that, but explicitly adding {center: true} will not have any effect.
AV/General/UFfigCON.js illustrates the problem. This diagram appears as the first figure of the UnionFind module: http://algoviz.org/OpenDSA/dev/OpenDSA/Books/CS3114/html/UnionFind.html.