UNPKG

plotly.js

Version:

The open source javascript graphing library that powers plotly

30 lines (26 loc) 864 B
/** * Copyright 2012-2020, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; module.exports = { attributes: require('./attributes'), supplyDefaults: require('./defaults'), calc: require('./calc'), plot: require('./plot'), moduleType: 'trace', name: 'sankey', basePlotModule: require('./base_plot'), selectPoints: require('./select.js'), categories: ['noOpacity'], meta: { description: [ 'Sankey plots for network flow data analysis.', 'The nodes are specified in `nodes` and the links between sources and targets in `links`.', 'The colors are set in `nodes[i].color` and `links[i].color`, otherwise defaults are used.' ].join(' ') } };