Merge pull request #6360 from nchen63/patch-4

Use actual generated d.ts from webcola project
This commit is contained in:
Masahiro Wakame
2015-10-27 00:00:48 +09:00
2 changed files with 1086 additions and 91 deletions
-31
View File
@@ -1,31 +0,0 @@
/// <reference path="webcola.d.ts"/>
module WebColaTests {
var adaptor = new cola.adaptor({
trigger: function() {
},
kick: function() {
},
on: function() {
},
drag: function() {
}
});
adaptor
.size([100, 100])
.avoidOverlaps(true)
.nodes({})
.links({})
.handleDisconnected(true)
.convergenceThreshold(0.001)
.constraints({})
.linkDistance(100)
.flowLayout('y', 0);
adaptor.start(1, 2, 3);
adaptor.stop();
adaptor.resume();
cola.colaDragstart({});
cola.colaDragend({});
}
+1086 -60
View File
File diff suppressed because it is too large Load Diff