vis.setVisible(Constants.TREE_NODES, null, false);
// -- set up edge renderers --
DefaultRendererFactory drf = new DefaultRendererFactory();
drf.setDefaultRenderer(new CustomShapeRenderer());
drf.add(new InGroupPredicate(Constants.NODE_DECORATORS),
new MyLabelRenderer());
drf.add(new InGroupPredicate(Constants.TREE_EDGES),
getEdgeTypeRenderer(orientation));
//drf.add(new InGroupPredicate(Constants.TREE_EDGES),
//new EdgeRenderer(prefuse.Constants.EDGE_TYPE_LINE));
// new EdgeRenderer(prefuse.Constants.EDGE_TYPE_CURVE));