link.addTo(graph)
Add the link to the graph (an instance of joint.dia.Graph). This is equivalent to calling graph.addCell(link).
graph
joint.dia.Graph
graph.addCell(link)