|
|
@ -169,7 +169,6 @@ class CanvasRenderer { |
|
|
|
this.body.emitter.emit("beforeDrawing", ctx); |
|
|
|
ctx.closePath(); |
|
|
|
|
|
|
|
console.log(arguments) |
|
|
|
if (hidden === false) { |
|
|
|
if (this.dragging === false || (this.dragging === true && this.options.hideEdgesOnDrag === false)) { |
|
|
|
this._drawEdges(ctx); |
|
|
@ -242,7 +241,6 @@ class CanvasRenderer { |
|
|
|
* @private |
|
|
|
*/ |
|
|
|
_drawNodes(ctx, alwaysShow = false) { |
|
|
|
console.log("draw nodes") |
|
|
|
let nodes = this.body.nodes; |
|
|
|
let nodeIndices = this.body.nodeIndices; |
|
|
|
let node; |
|
|
@ -291,7 +289,6 @@ class CanvasRenderer { |
|
|
|
* @private |
|
|
|
*/ |
|
|
|
_drawEdges(ctx) { |
|
|
|
console.log("draw edges") |
|
|
|
let edges = this.body.edges; |
|
|
|
let edgeIndices = this.body.edgeIndices; |
|
|
|
let edge; |
|
|
|