fix loadState
This commit is contained in:
parent
1e6e868bfb
commit
c79dff9111
|
@ -94,6 +94,8 @@ define(function () {
|
||||||
}
|
}
|
||||||
self.addTarget = function (d) { targets.push(d) }
|
self.addTarget = function (d) { targets.push(d) }
|
||||||
|
|
||||||
|
self.loadState = loadState
|
||||||
|
|
||||||
self.setData = function (nodes, links) {
|
self.setData = function (nodes, links) {
|
||||||
objects.nodes = {}
|
objects.nodes = {}
|
||||||
objects.links = {}
|
objects.links = {}
|
||||||
|
|
Loading…
Reference in a new issue