title: Algorithm to draw connections between nodes without overlapping nodes
body: <p>I have a series of nodes in a graph. The nodes are placed by the user in specific spots. The nodes are guaranteed to not overlap and, in fact, to have a buffer of space between them. These nodes are connected and each edge joins to a node at a specific point. I need to draw the edges between the nodes such that the edges:</p>
  
  <ul>
  <li>(required) do not overlap the parent nodes</li>
  <li>(ideally) would not overlap any node</li>
  </ul>
  
  <p>I am not worried about edge crossings. Bonus points if there's an implementation of this in Javascript. I am unable to use any libraries outside of Javascript.</p>