Skip to content

Commit

Permalink
silence is golden
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpetro committed Jun 13, 2024
1 parent 48c4d7d commit 3fc78c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1171,9 +1171,9 @@ class ScGraphItemView extends ItemView {
}

simulationTickHandler() {
console.log("Checking node positions during tick:");
// console.log("Checking node positions during tick:");
this.linkLabelSelection.each((d: any) => {
console.log(`Source: (${d.source.x}, ${d.source.y}), Target: (${d.target.x}, ${d.target.y} ${d.source})`);
// console.log(`Source: (${d.source.x}, ${d.source.y}), Target: (${d.target.x}, ${d.target.y} ${d.source})`);
});
this.nodeSelection.attr('cx', (d: any) => d.x).attr('cy', (d: any) => d.y).style('cursor', 'pointer');
this.linkSelection.attr('x1', (d: any) => d.source.x || 0).attr('y1', (d: any) => d.source.y || 0).style('cursor', 'pointer')
Expand Down

0 comments on commit 3fc78c3

Please sign in to comment.