(numClicks, evt)
| 200 | } |
| 201 | |
| 202 | function clickVertexController(numClicks, evt) { |
| 203 | if(numClicks === 2) { |
| 204 | indexI = +evt.srcElement.getAttribute('data-i'); |
| 205 | indexJ = +evt.srcElement.getAttribute('data-j'); |
| 206 | |
| 207 | var cell = polygons[indexI]; |
| 208 | if( |
| 209 | !pointsOnRectangle(cell) && |
| 210 | !pointsOnEllipse(cell) |
| 211 | ) { |
| 212 | removeVertex(); |
| 213 | } |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | function addVertexControllers(g) { |
| 218 | vertexDragOptions = []; |
nothing calls this directly
no test coverage detected
searching dependent graphs…