Create dynamic edge with JGraphX
<p>I'm doing an activity diagram editor using JGraphX​​. User should do this steps to create an edge between two nodes (vertex):</p>

<ol>
<li><p>he clicks a button (to say that 'I will now create an edge'), then</p></li>
<li><p>click on the chosen source node, </p></li>
<li><p>drag with the mouse,</p></li>
<li><p>release the mouse when it reaches the second node to bind.</p></li>
</ol>

<p>I know it is done with MouseClicked, and MouseDragged MouseReleased but I have not found the correct solution.</p>

<p>Thank you for helping me.</p>
