JPowerGraphColor dark_green = new JPowerGraphColor(0, 204, 0);
JPowerGraphColor black = new JPowerGraphColor(0, 0, 0);
JPowerGraphColor gray = new JPowerGraphColor(128, 128, 128);
//Nodes style
theJGraphPane.setNodePainter(ConceptNode.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_blue, dark_blue, black));
theJGraphPane.setNodePainter(SubClassNode.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_red, dark_red, black));
theJGraphPane.setNodePainter(SuperClassNode.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_green, dark_green, black));
theJGraphPane.setNodePainter(RelationNode.class, new ShapeNodePainter(ShapeNodePainter.ELLIPSE, light_blue, dark_blue, black));
theJGraphPane.setNodePainter(InstanceNode.class, new ShapeNodePainter(ShapeNodePainter.TRIANGLE, light_green, dark_green, black));
theJGraphPane.setNodePainter(InstanceOfNode.class, new ShapeNodePainter(ShapeNodePainter.ELLIPSE, light_blue, dark_blue, black));
theJGraphPane.setNodePainter(InitialNode.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_blue, dark_blue, black));
theJGraphPane.setNodePainter(ActivateNode.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_red, dark_red, black));
theJGraphPane.setNodePainter(ActivationNode.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_red, dark_red, black));
theJGraphPane.setNodePainter(SpreadingNode.class, new ShapeNodePainter(ShapeNodePainter.ELLIPSE, light_green, dark_green, black));
theJGraphPane.setNodePainter(SpreadNode.class, new ShapeNodePainter(ShapeNodePainter.ELLIPSE, light_green, dark_green, black));
theJGraphPane.setNodePainter(PathNode.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_blue, dark_blue, black));
//Edges style
theJGraphPane.setEdgePainter(LoopEdge.class, new LoopEdgePainter(gray, gray, LoopEdgePainter.CIRCULAR));
theJGraphPane.setEdgePainter(LoopEdge2.class, new LoopEdgePainter(gray, gray, LoopEdgePainter.RECTANGULAR));