title: EaselJS: connect 2 containers/shapes using a line
body: <p>I want to be able to click on a container/shape and as I move the mouse a line that can be connected to another container/shape (with an arrow at one end) is drawn. Ideally I want this line to snap to the destination element.</p>
  
  <p>I'm new to EaselJS and I've got no clue on how to go about this. This is the closes I've come across of here, and I can't make sense out of it:
  <a href="https://stackoverflow.com/questions/15996060/drawing-a-line-in-a-html5-canvas-using-easeljs">Drawing a Line in a html5 canvas using EaselJS</a></p>