Created
June 7, 2016 16:29
-
-
Save clock21am/c9e426e4c9b43707ea9f656da17c55da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
items.nodecreator.model.clear(); | |
items.answerschoice.model.clear(); | |
items.edgecreator.model.clear(); | |
for(var i = 0 ; i < test.nodePositions.length; i++){ | |
items.nodecreator.model.append({ | |
"xx": test.nodePositions[i][0], | |
"yy": test.nodePositions[i][1], | |
"nodee": test1.nodeleave[i], | |
"rationn": test.rationn[i], | |
"currentstate":test1.currentstate[i] | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment