constructor(node1, node2, scope) {
        this.objectType = 'Wire';
        this.node1 = node1;
        this.scope = scope;
        this.node2 = node2;
        this.type = 'horizontal';


        this.updateData();
        this.scope.wires.push(this);
        forceResetNodesSet(true);
    }
Wire - To connect two nodes.
@class
@memberof module:wire
@param {Node} node1
@param {Node} node2
@param {Scope} scope - The circuit in which wire has to be drawn
@category wire