🔥 removing graphfx.app code and unused libs

This commit is contained in:
2019-01-25 13:40:58 +01:00
parent 1e7c10becb
commit d5c7ba2cd5
35 changed files with 257 additions and 7611 deletions

View File

@@ -35,6 +35,7 @@ export default class Node {
name: this.name,
options: {
in: this.in.serialize(),
out: this.out.serialize(),
},
}
}
@@ -52,11 +53,12 @@ export default class Node {
this.in[name].connect(outputs[output]);
}
}
for (let name of Object.keys(options.out)) {
this.out[name].deserialize(options.out[name]);
}
for (let name of Object.keys(options.in)) {
const {value} = options.in[name];
if (value) {
this.in[name].deserialize(value);
}
console.log(options.in[name]);
this.in[name].deserialize(options.in[name]);
}
}
};