code: public Panel draw(TemplateViewNodesConfig config, RecordList recordList){
          // setup basic layout
          // has a reference to builders from plot to do rest of the plots
          final TemplateViewNodesConfig.TemplateNode rootTemplateNode = config.getRootTemplateNode();
          if(rootTemplateNode == null){
              throw new IllegalArgumentException("RootTemplate node is empty");
          }
          Panel panel = draw(rootTemplateNode, recordList);
          return panel;
      }
docs: call this with config to initialize the view