init(project, NodeModelCacheFactory.getInstance().createFilteredCache((ReferenceNodeModelCache)refCache,"Network",null),PERT,-1);
}
public void init(Project project, NodeModelCache cache,int type,int scale) {
this.project=project;
params=new NetworkParamsImpl();
params.setNetworkLayout(type==PERT?new PertLayout(params):new XbsLayout(params));
String viewName=null;
// NodeModelCache cache=null;
switch (type) {
case PERT:
viewName="pert";