this.setVisible(true);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
public BasicVisualizationServer<String,String> construire() {
Layout <String,String> layout = new FRLayout(this.graph);
layout.setSize(new Dimension(300,300));
BasicVisualizationServer<String,String> vue = new BasicVisualizationServer<String,String>(layout);
vue.setPreferredSize(new Dimension(350,350));
vue.getRenderContext().setVertexLabelTransformer(new ToStringLabeller());
vue.getRenderContext().setEdgeLabelTransformer(new ToStringLabeller());
vue.getRenderer().getVertexLabelRenderer().setPosition(Position.CNTR);