Thanks a lot....this solved my problem. I would also require to draw a self loop for a node in a canvas,i.e, an edge that will start and end in the same node showing a small loop. Is there some way around preferably using the createLine function...
Precisely what I require is given a point ($x,$y), How to draw a small circular loop around it using createLine function.
Any help would be highly appreciated...Thanks again for the help provided so far..