Suppose we have a timeline in which on mouse click a new task is created, in such case how to connect that tasks using jsplumb?
jsplumb
For a quick start on what you want, read the below blog: http://blog.emielhollander.nl/getting-started-with-jsplumb/