// NodeModelCache cache=null;
switch (type) {
case PERT:
viewName="pert";
// cache=NodeModelCacheFactory.getInstance().createFilteredCache((ReferenceNodeModelCache)refCache,"Network",null);
renderer=new PertRenderer(params);
renderer.setVertical(false);
break;
case WBS:
viewName="WBS";
// cache=NodeModelCacheFactory.getInstance().createFilteredCache((ReferenceNodeModelCache)refCache,"WBS",null);