(gd)
| 29 | }; |
| 30 | |
| 31 | function draw(gd) { |
| 32 | var fullLayout = gd._fullLayout; |
| 33 | |
| 34 | clearOutlineControllers(gd); |
| 35 | |
| 36 | // Remove previous selections before drawing new selections in fullLayout.selections |
| 37 | fullLayout._selectionLayer.selectAll('path').remove(); |
| 38 | |
| 39 | for(var k in fullLayout._plots) { |
| 40 | var selectionLayer = fullLayout._plots[k].selectionLayer; |
| 41 | if(selectionLayer) selectionLayer.selectAll('path').remove(); |
| 42 | } |
| 43 | |
| 44 | for(var i = 0; i < fullLayout.selections.length; i++) { |
| 45 | drawOne(gd, i); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | function couldHaveActiveSelection(gd) { |
| 50 | return gd._context.editSelection; |
no test coverage detected
searching dependent graphs…