Draw line and connect table

can anyone give me any idea how to do this?

we want to create a curriculum flowchart in which there will be a line that will automatically connect the subject and its prerequisites.

we decided to use a table to contain the subject details…

how can we know the current position of a table?

please help…:sick:

http://www.quirksmode.org/js/findpos.html