I\'m making a graph in Shiny using shinyCyJS, I\'m building the edges with buildElems that calls buildEdge:
edges = data.frame( source = c("v1",