(d: NodeData)
| 370 | } |
| 371 | |
| 372 | private dragstarted(d: NodeData) { |
| 373 | if (this.model.static) { |
| 374 | return; |
| 375 | } |
| 376 | if (!d3GetEvent().active) { |
| 377 | this.force_layout.alphaTarget(0.4).restart(); |
| 378 | } |
| 379 | d.fx = d.x; |
| 380 | d.fy = d.y; |
| 381 | } |
| 382 | |
| 383 | private dragged(d: NodeData) { |
| 384 | if (this.model.static) { |
nothing calls this directly
no test coverage detected