there's makeLink in graphs.js, might be better to use that?