MCPcopy
hub / github.com/plotly/plotly.js / dragAndReplot

Function dragAndReplot

test/jasmine/tests/annotations_test.js:1044–1048  ·  view source on GitHub ↗
(node, dx, dy, edge)

Source from the content-addressed store, hash-verified

1042 afterEach(destroyGraphDiv);
1043
1044 function dragAndReplot(node, dx, dy, edge) {
1045 return drag({node: node, dpos: [dx, dy], edge: edge}).then(function() {
1046 return Plots.previousPromises(gd);
1047 });
1048 }
1049
1050 /*
1051 * run through a series of drags of the same annotation

Callers 3

checkDraggingFunction · 0.85
checkTextDragFunction · 0.85

Calls 1

dragFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…