*/
public class IconGraph extends GraphEd.MyGraph {
public IconGraph(GraphModel model) {
super(model);
getGraphLayoutCache().setAutoSizeOnValueChange(true);
getGraphLayoutCache().setFactory(new DefaultCellViewFactory() {
public CellView createView(GraphModel model, Object c) {
CellView view = null;
if (c instanceof CustomCell) {
return new JGraphIconView(c);
} else if (c instanceof Port) {