( nodes, activeNode, activeCtrl, ghosts )
| 356 | } |
| 357 | |
| 358 | render( nodes, activeNode, activeCtrl, ghosts ){ |
| 359 | this.context.clearRect( 0, 0, this.canvas.width, this.canvas.height ); |
| 360 | |
| 361 | this.drawBg(); |
| 362 | nodes.forEach( node => this.drawNode( node, activeNode, activeCtrl ) ); |
| 363 | |
| 364 | if ( ghosts ) this.drawGhosts( ghosts ); |
| 365 | } |
| 366 | } |
nothing calls this directly
no test coverage detected