private EdgeRenderer edgeRenderer = null;
public void initNanoGraph() {
initGraph();
dgl = new DebugGraphListener(new OutputStreamWriter(System.out));
gp.getInteractionManager().addSelectionListener(dgl);
gp.getInteractionManager().addActionListener(dgl);
gp.getInteractionManager().addActionListener(this);
gp.setModel(g);
gp.getNanoGraph().setLayout(new CircularLayoutAlgorithm(800));