title: Overlapping edges with JGraphx
body: <p>I'm building a graph with JgraphX. The directed graph represent roads and intersections. For every route I define two edges, one for each direction.</p>
  
  <p>As result, the image of the graph has the two edges (representing the road) overlapped. How can I avoid this? 
  Does the vertex have some things like anchor points for the edges? If so, how can I define them?</p>
  
  <p>This is the code I use to display graph</p>
  
  <pre><code>package it.rex.view;
  
  import java.awt.BorderLayout;
  import java.awt.EventQueue;
  
  import javax.swing.JButton;
  import javax.swing.JFrame;
  import javax.swing.JPanel;
  import javax.swing.border.EmptyBorder;
  
  import org.jgrapht.ListenableGraph;
  import org.jgrapht.ext.JGraphXAdapter;
  import org.jgrapht.graph.ListenableDirectedGraph;
  
  import com.mxgraph.layout.mxCircleLayout;
  import com.mxgraph.layout.mxIGraphLayout;
  import com.mxgraph.swing.mxGraphComponent;
  
  //import grafotest1.DemoWeightedGraph.MyEdge;
  import it.rex.model.Incrocio;
  import it.rex.model.Strada;
  import javax.swing.JScrollPane;
  public class StradarioView extends JFrame {
  
  
  
      /**
       * Create the frame.
       */
      public StradarioView(ListenableGraph&lt;Incrocio, Strada&gt; listenableGraph) {
  
          // Graph come from JgraphT
          JGraphXAdapter&lt;Incrocio, Strada&gt; graphAdapter = 
                  new JGraphXAdapter&lt;Incrocio, Strada&gt;(listenableGraph);
  
          mxIGraphLayout layout = new mxCircleLayout(graphAdapter);
          layout.execute(graphAdapter.getDefaultParent());
  
          mxGraphComponent graphComponent = new mxGraphComponent(graphAdapter);
          getContentPane().add(graphComponent, BorderLayout.CENTER);
  
          setTitle("Stradario");
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setBounds(100, 100, 450, 300);
          pack();
  
  
          add(graphComponent);
      }
  }
  </code></pre>
  
  <p>This the result with overlapped edges:</p>
  
  <p><a href="https://i.stack.imgur.com/gCc9b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gCc9b.png" alt="overlapped edges"></a></p>