Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

WebCola

> 编程语言
Open source

Javascript constraint-based graph layout

2.1K stars0 likes0 views
WebsiteGitHub

About

Javascript constraint-based graph layout

WebCola [](https://opensource.org/licenses/MIT) ======= JavaScript constraint based layout for high-quality graph visualization and exploration using D3.js and other web-based graphics libraries.

[Homepage with code and more examples](https://ialab.it.monash.edu/webcola) Note: While D3 adaptor supports both D3 v3 and D3 v4, WebCoLa's interface is styled like D3 v3. Follow the setup in our homepage for more details. Installation ------------ #### Browser: ```html ``` The minified version can also be accessed from [jsDelivr](https://cdn.jsdelivr.net/gh/tgdwyer/WebCola/WebCola/cola.min.js). #### Npm: npm install webcola --save You can also install it through npm by first adding it to `package.json`: "dependencies": { "webcola": "latest" } 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](https://github.com/DefinitelyTyped/tsd) and running `tsd link`. Building -------- *Linux/Mac/Windows Command Line:* - install [node.js](http://nodejs.org) - from the WebCola directory: npm install - build, minify and test: npm run build npm run test This creates the `cola.js` and `cola.min.js` files in the `dist` directory and runs tests. *Visual Studio:* - get the [typescript plugin](http://www.typescriptlang.org/#Download) - open webcola.sln 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. npm run website http-server website The default configuration of http-server will serve the exampes on [http://localhost:8080](http://localhost:8080).

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •install node.js
  • •from the WebCola directory:
  • •build, minify and test:
  • •get the typescript plugin
  • •open webcola.sln

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言