Skip to content

nchen63/WebCola

This branch is 2 commits ahead of, 185 commits behind tgdwyer/WebCola:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5e26cb1 · May 12, 2016
May 12, 2016
Apr 7, 2014
Apr 7, 2014
Nov 2, 2015
Jul 13, 2015
Dec 8, 2015
Nov 2, 2015
Nov 2, 2015
Apr 14, 2016
Nov 2, 2015
May 12, 2016
Apr 4, 2016

Repository files navigation

WebCola

JavaScript constraint based layout for high-quality graph visualization and exploration using D3.js and other web-based graphics libraries.
Homepage with examples

Installation

A version suitable for browsers can be found here (minified).

Npm:

npm install cola --save

You can also install it through npm by first adding it to package.json:

"dependencies": {
  "cola": "tgdwyer/WebCola#master"
}

Then by running npm install.

####Bower :

bower install webcola --save

If you use TypeScript, you can get complete TypeScript definitions by installing tsd 0.6 and running tsd link.

Building

Linux/Mac/Windows Command Line:

  • install node.js

  • install grunt from the command line using npm (comes with node.js):

     npm install -g grunt-cli
    
  • from the WebCola directory:

     npm install
    
  • build, minify and test:

     grunt
    

This creates the cola.js and cola.min.js files in the WebCola directory, generates index.js for npm, and runs tests.

Visual Studio:

Running

Linux/Mac/Windows Command Line:

Install the Node.js http-server module:

npm install -g http-server

After installing http-server, we can serve out the example content in the WebCola directory.

http-server WebCola

The default configuration of http-server will serve the exampes on http://localhost:8080.

About

Javascript constraint-based graph layout

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 51.8%
  • TypeScript 31.0%
  • HTML 16.6%
  • CSS 0.6%