apply patch from csanchezdll - <graph> addedge <tail> <head> using node handles
takes wrong head