Further testing

This commit is contained in:
Gonzalo Bellver 2012-01-17 17:50:07 -03:00
parent 61eca9f932
commit 1607de9f7d
2 changed files with 12 additions and 0 deletions

View File

@ -711,6 +711,16 @@ mindplot.layout.TestSuite = new Class({
manager.move(7, {x:350, y:-190});
manager.layout(true);
manager.plot("testFreePosition5", {width:1400, height:600});
manager.addNode(23, mindplot.layout.TestSuite.NODE_SIZE, position);
manager.connectNode(12,23,3);
manager.layout(true);
manager.plot("testFreePosition6", {width:1400, height:600});
console.log("move node 4 to (-300, 190)");
manager.move(4, {x:-300, y:190});
manager.layout(true);
manager.plot("testFreePosition7", {width:1400, height:600});
}
});

View File

@ -116,6 +116,8 @@
<div id="testFreePosition3" class="col last"></div>
<div id="testFreePosition4" class="col last"></div>
<div id="testFreePosition5" class="col last"></div>
<div id="testFreePosition6" class="col last"></div>
<div id="testFreePosition7" class="col last"></div>
</body>
</html>