code: function(modules){
  		return function(System){
  			if(!Array.isArray(modules)) {
  				return [System.main];
  			} else if(typeof modules === "function") {
  				return modules.apply(this, arguments);
  			} else {
  				return modules;
  			}
  		};
  	}
docs: @function
  
  By default, writes out System.main and all of its dependencies. Defaults to "graphs"
  default behavior if anything else is provided.
  
  @param {function|Array<moduleName>} [modules] An array of modules to overide the main file.