theJGraphPane.setNodePainter(NodeType3.class, new ShapeNodePainter(ShapeNodePainter.TRIANGLE, light_green, dark_green, black));
theJGraphPane.setNodePainter(NodeType4.class, new ClusterNodePainter(ShapeNodePainter.ELLIPSE, light_red, dark_red, black, true, new RowImageMap()));
theJGraphPane.setEdgePainter(LoopEdge.class, new LoopEdgePainter(gray, gray, LoopEdgePainter.CIRCULAR));
theJGraphPane.setEdgePainter(LoopEdge2.class, new LoopEdgePainter(gray, gray, LoopEdgePainter.RECTANGULAR));
theJGraphPane.setEdgePainter(TextEdge.class, new LineWithTextEdgePainter(gray, gray, false));
theJGraphPane.setEdgePainter(LineEdge.class, new LineEdgePainter(gray, gray, true));
theJGraphPane.setEdgePainter(ArrowEdge.class, new ArrowEdgePainter <Edge>());
theJGraphPane.setEdgePainter(ClusterEdge.class, new ClusterEdgePainter <ClusterEdge>());
theJGraphPane.setDefaultEdgePainter(new LineEdgePainter(gray, gray, false));
}