MCPcopy Create free account
hub / github.com/NikLever/ThreeJS-PathEditor / render

Method render

graph.js:358–365  ·  view source on GitHub ↗
( nodes, activeNode, activeCtrl, ghosts )

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 3

drawBgMethod · 0.95
drawNodeMethod · 0.95
drawGhostsMethod · 0.95

Tested by

no test coverage detected