(d, i)
| 134 | } |
| 135 | |
| 136 | function removeEdge(d, i) { |
| 137 | d.source.degree--; |
| 138 | d.target.degree--; |
| 139 | links.splice(links.indexOf(d), 1); |
| 140 | d3.event.preventDefault(); |
| 141 | restart(); |
| 142 | showGraphLatex(); |
| 143 | } |
| 144 | |
| 145 | function beginDragLine(d) { |
| 146 | //event must propagate till g.vertex so that force.drag could work |
nothing calls this directly
no test coverage detected