setOutputsUpstream(bool) {
        for (let i = 0; i < this.nodeList.length; i++) {
            if (this.nodeList[i].type === NODE_OUTPUT) {
                this.nodeList[i].isValueUpstream = bool;
            }
        }
    }
Sets isValueUpstream for all output nodes of the
element.