added menu, added clear workspace function, buttons file now gui file

Signed-off-by: Victor Giers <vgiers@web.de>
This commit is contained in:
2019-05-07 03:28:44 +02:00
parent f591210c2e
commit 20f07335c2
51 changed files with 935 additions and 759 deletions

View File

@@ -23,17 +23,7 @@ void loadCSVFile(File selection) {
}
void loadCSV(String path) {
for (int i = 0; i < nodeCount; i++) {
//nodes[i].deleted = true;
i_selectedNode = i;
deleteSelectedNode();
}
nodeCount = 0;
for (int i = 0; i < linkCount; i++) {
links[i].active = false;
}
linkCount = 0;
deleteAll();
String[] loadString = loadStrings(path);
for (int i = 0; i < loadString.length-1; i++) {