MCPcopy Index your code
hub / github.com/bqplot/bqplot / dragended

Method dragended

js/src/Graph.ts:391–400  ·  view source on GitHub ↗
(d: NodeData)

Source from the content-addressed store, hash-verified

389 }
390
391 private dragended(d: NodeData) {
392 if (this.model.static) {
393 return;
394 }
395 if (!d3GetEvent().active) {
396 this.force_layout.alphaTarget(0.4);
397 }
398 d.fx = null;
399 d.fy = null;
400 }
401
402 private colorScaleUpdated() {
403 this.nodes

Callers

nothing calls this directly

Calls 1

d3GetEventFunction · 0.90

Tested by

no test coverage detected