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

Function getKey

src/traces/treemap/plot_one.js:17–21  ·  view source on GitHub ↗
(pt)

Source from the content-addressed store, hash-verified

15var drawAncestors = require('./draw_ancestors');
16
17function getKey(pt) {
18 return helpers.isHierarchyRoot(pt) ?
19 '' : // don't use the dummyId
20 helpers.getPtId(pt);
21}
22
23module.exports = function plotOne(gd, cd, element, transitionOpts, drawDescendants) {
24 var fullLayout = gd._fullLayout;

Callers 3

getPrevFunction · 0.85
getOriginFunction · 0.85
plot_one.jsFile · 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…