Skip to content
This repository

A javascript library for drawing sankey / flow diagrams

branch: master

Merge pull request #14 from andrew-luhring/master

Adds CSS to examples to show how CSS transitions can be used to make the highlighting of paths on the sankey diagram much more pleasing.
latest commit c6c6909bec
Tom Counsell authored
Octocat-spinner-32 examples adds transitions to all elements because moving cursor over examples … February 12, 2014
Octocat-spinner-32 ext Added a very basic demo of using a slider to update the data in a Sankey June 30, 2011
Octocat-spinner-32 js opacity variable September 15, 2013
Octocat-spinner-32 src opacity variable September 15, 2013
Octocat-spinner-32 .gitignore adds transitions to all elements because moving cursor over examples … February 12, 2014
Octocat-spinner-32 LICENCE.txt First spike June 26, 2011
Octocat-spinner-32 README.txt Added link to d3 sankey diagram generator November 26, 2012
README.txt
# JAVASCRIPT SANKEY DIAGRAMS

A javascript library for drawing Sankey diagrams. 

The canonical code is at:
http://github.com/tamc/sankey

## Similar tools

This sankey diagram generator uses the Raphael library and therefore the diagrams work in older versions of Internet Explorer.

If you are happy for your diagrams to work only with the latest generation of browsers, then take a look at:
http://bost.ocks.org/mike/sankey/

## DEPENDENCIES

1. raphael.js
2. jquery.js
3. jquery-ui.js (optional)

## USAGE

For the moment, see files in the examples folder

## HACKING

The javascript is written in CoffeeScript in the src directory.

To keep the javascript in sync with the coffeescript, run:

    coffee -wo js/ -c src/sankey.coffee

## PATCHES AND BUG REPORTS

Please submit bug reports to:
http://github.com/tamc/sankey/issues

Please submit patches to:
http://github.com/tamc/sankey/pullrequests
Something went wrong with that request. Please try again.