Skip to content

Commit

Permalink
NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
emeeks committed Aug 24, 2015
1 parent 54e4036 commit 66644ef
Show file tree
Hide file tree
Showing 4 changed files with 396 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Extended from Mike Bostock's original d3.sankey.

[Demo](http://bl.ocks.org/emeeks/1dd092dadc02a93cdebc)

`npm install d3-sankey-multipart`

```js
var sankey = d3.sankey()
.size([width, height])
Expand Down
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var d3 = require('d3');

d3.sankey = require('./src/sankey');

module.exports = d3;
35 changes: 35 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "d3-sankey-multipart",
"version": "1.0.0",
"description": "A sankey diagram that also generates the drawing code necessary for multipart connections between nodes.",
"main": "index.js",
"keywords": [
"d3",
"layout",
"sankey",
"parallel edges"
],
"directories": {
"examples": "examples"
},
"dependencies": {
"d3": "^3.5.6"
},
"devDependencies": {
},
"scripts": {
},
"repository": {
"type": "git",
"url": "https://github.com/emeeks/d3.sankey-multipart"
},
"author": {
"name": "Elijah Meeks",
"url": "http://www.elijahmeeks.com"
},
"license": "",
"bugs": {
"url": "https://github.com/emeeks/d3.sankey-multipart/issues"
},
"homepage": "https://github.com/emeeks/d3.sankey-multipart"
}
Loading

0 comments on commit 66644ef

Please sign in to comment.