MCPcopy Index your code
hub / github.com/plotly/plotly.js / addGroupControllers

Function addGroupControllers

src/components/shapes/display_outlines.js:327–342  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 }
326
327 function addGroupControllers() {
328 groupDragOptions = [];
329
330 if(!polygons.length) return;
331
332 var i = 0;
333 groupDragOptions[i] = {
334 element: outlines[0][0],
335 gd: gd,
336 prepFn: startDragGroupController,
337 doneFn: endDragGroupController,
338 clickFn: clickGroupController
339 };
340
341 dragElement.init(groupDragOptions[i]);
342 }
343};
344
345function recordPositions(polygonsOut, polygonsIn) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…