title: How does terminal points work for edges in mxGraph? Need edges to connect at left-side-mid-height of a vertex
body: <pre><code>edge = graph.insertEdge(parent,
                                  null,
                                  '',
                                  vertex1,
                                  vertex2);
  
  var destX = vertex2.geometry.x;
  var destY = vertex2.geometry.y;
  var destHeight = vertex2.geometry.height;
  var sourceX = vertex2.geometry.x;
  var sourceY = vertex2.geometry.y;
  var sourceHeight = vertex2.geometry.height;
  edge.geometry.setTerminalPoint(new 
                           mxPoint(sourceX,sourceY+(sourceHeight/2)),true);
  edge.geometry.setTerminalPoint(new 
                      mxPoint(destX,destY+(destHeight/2)),false);
  edge.geometry.relative = true;
  </code></pre>
  
  <p>This is creating the default edge.Please assume that the vertex is inserted.</p>