constructor(x, y, id, label = '', type, parent) {
        this.type = type;
        this.id = id;

        this.label = label;

        this.prevx = undefined;
        this.prevy = undefined;
        this.x = x; // Position of node wrt to parent
        this.y = y; // Position of node wrt to parent

        this.radius = 5;
        this.clicked = false;
        this.hover = false;
        this.wasClicked = false;
        this.prev = 'a';
        this.count = 0;
        this.parent = parent;
        this.objectType = "Layout Node";
    }
@class
@param {number} x - x coord of node
@param {number} y - y coord of node
@param {strng} id - id for node
@param {string=} label - label for the node
@param {number} xx - parent x
@param {number} yy - parent y
@param {number} type - input or output node
@param {CircuitElement} parent  parent of the node
@category layout