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

Function _supplyWithLayout

test/jasmine/tests/sankey_test.js:44–51  ·  view source on GitHub ↗
(traceIn, layout)

Source from the content-addressed store, hash-verified

42 }
43
44 function _supplyWithLayout(traceIn, layout) {
45 var traceOut = { visible: true };
46 var defaultColor = '#444';
47
48 Sankey.supplyDefaults(traceIn, traceOut, defaultColor, Lib.extendFlat({colorway: defaultColors}, layout));
49
50 return traceOut;
51 }
52
53 describe('don\'t remove nodes if encountering no circularity', function() {
54 it('removing a single self-pointing node', function() {

Callers 1

sankey_test.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…