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

Function findNode

src/traces/sankey/base_plot.js:91–96  ·  view source on GitHub ↗
(pt)

Source from the content-addressed store, hash-verified

89 var newGroup = [];
90
91 function findNode(pt) {
92 var nodes = traceNow._sankey.graph.nodes;
93 for(var i = 0; i < nodes.length; i++) {
94 if(nodes[i].pointNumber === pt) return nodes[i];
95 }
96 }
97
98 for(var j = 0; j < selection.length; j++) {
99 var node = findNode(selection[j].pointNumber);

Callers 1

subplotUpdateFxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…