code: function Node(name, type) {
        this.name = name;
        this.type = type;
  
        if (type === 1) {
          this.attributes = [];
          this.attributes.map = {};
        }
      }
docs: Constructs a new Node instance.
  
  @constructor
  @method Node
  @param {String} name Name of the node type.
  @param {Number} type Numeric type representing the node.