tiimeout not needed
This commit is contained in:
parent
fe8d2c1ff9
commit
3daf5a0b2c
1 changed files with 15 additions and 18 deletions
|
@ -114,10 +114,8 @@ const JIT = {
|
|||
prepareVizData: function() {
|
||||
const self = JIT
|
||||
let mapping
|
||||
|
||||
self.vizData = []
|
||||
Visualize.loadLater = false
|
||||
setTimeout(() => {
|
||||
const results = self.convertModelsToJIT(DataModel.Topics, DataModel.Synapses)
|
||||
self.vizData = results[0]
|
||||
// clean up the synapses array in case of any faulty data
|
||||
|
@ -133,7 +131,6 @@ const JIT = {
|
|||
Map.setHasLearnedTopicCreation(true)
|
||||
}
|
||||
Visualize.render()
|
||||
}, 1)
|
||||
}, // prepareVizData
|
||||
edgeRender: function(adj, canvas) {
|
||||
// get nodes cartesian coordinates
|
||||
|
|
Loading…
Add table
Reference in a new issue