Skip to content

Commit 6c3f513

Browse files
author
Dan Delany
committed
remove old files
1 parent 0f7c6b4 commit 6c3f513

File tree

6 files changed

+16
-1327
lines changed

6 files changed

+16
-1327
lines changed

docs/src/docs/SankeyDiagram/propDocs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"description": "A Sankey diagram is a type of flow diagram which represents",
2+
"description": "A Sankey diagram is a type of flow diagram which visualizes directed flow between nodes\nof a network graph. Currently only *acyclic* networks are supported.",
33
"methods": [
44
{
55
"name": "_makeSankeyGraph",

src/SankeyDiagram.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ const nodeAlignmentsByName = {
187187
};
188188

189189
/**
190-
* A Sankey diagram is a type of flow diagram which represents
190+
* A Sankey diagram is a type of flow diagram which visualizes directed flow between nodes
191+
* of a network graph. Currently only *acyclic* networks are supported.
191192
*/
192193
export default class SankeyDiagram extends React.Component {
193194
static propTypes = {
@@ -503,6 +504,8 @@ export default class SankeyDiagram extends React.Component {
503504
* May be a number (in SVG units) or percent string (`"25%"`)
504505
*/
505506
linkTargetLabelStartOffset: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
507+
508+
//standalone
506509
};
507510
static defaultProps = {
508511
width: 400,
@@ -602,7 +605,6 @@ export default class SankeyDiagram extends React.Component {
602605
];
603606

604607
const hasChangedSankey = _.some(sankeyLayoutPropKeys, key => {
605-
if (nextProps[key] !== this.props[key]) console.log("changed", key);
606608
return nextProps[key] !== this.props[key];
607609
});
608610
if (hasChangedSankey) this._makeSankeyGraph();

src/old/BarChart.js

-323
This file was deleted.

0 commit comments

Comments
 (0)