cache=NodeModelCacheFactory.getInstance().createFilteredCache((ReferenceNodeModelCache)frame.getReferenceCache(false),"RBS",null);
((NetworkSVGRenderer)renderer).init(frame.getProject(),cache,NetworkSVGRenderer.RBS,frame.getScale());
}
}else return null;
NodeModelCache srcCache=view.getCache();
ViewTransformer transformer=((NodeCacheTransformer)cache.getVisibleNodes().getTransformer()).getTransformer();
ViewTransformer srcTransformer=((NodeCacheTransformer)srcCache.getVisibleNodes().getTransformer()).getTransformer();
transformer.setUserFilterId(srcTransformer.getUserFilterId()); //this is valid just because the views have the same transformers
transformer.setUserSorterId(srcTransformer.getUserSorterId()); //this is valid just because the views have the same transformers
transformer.setUserGrouperId(srcTransformer.getUserGrouperId()); //this is valid just because the views have the same transformers
GraphPageable document=new GraphPageable(renderer,pdfAsDefault,true);
return document;
}