code: function(wiring) {
        this.clear();
        var i;
        if(YAHOO.lang.isArray(wiring.containers)) {
           for(i = 0 ; i < wiring.containers.length ; i++) {
              this.addContainer(wiring.containers[i]);
           }
        }
        if(YAHOO.lang.isArray(wiring.wires)) {
           for(i = 0 ; i < wiring.wires.length ; i++) {
              this.addWire(wiring.wires[i]);
           }
         }
     }
docs: Load a layer configuration object
  @method setWiring
  @param {Object} wiring layer configuration