WebCola

Javascript constraint-based graph layout

  • 所有者: tgdwyer/WebCola
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

WebCola License: 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

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:

<!-- Minified version -->
<script src="http://marvl.infotech.monash.edu/webcola/cola.min.js"></script>
<!-- Full version -->
<script src="http://marvl.infotech.monash.edu/webcola/cola.js"></script>

These files can also be accessed from GitHub (minified).

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 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.

主要指标

概览
名称与所有者tgdwyer/WebCola
主编程语言TypeScript
编程语言HTML (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2013-07-10 05:42:18
推送于2025-06-06 11:42:25
最后一次提交2025-06-06 13:40:53
发布数14
最新版本名称v3.3.8 (发布于 2018-02-01 14:16:35)
第一版名称v3 (发布于 )
用户参与
星数2.1k
关注者数67
派生数261
提交数751
已启用问题?
问题数222
打开的问题数87
拉请求数87
打开的拉请求数23
关闭的拉请求数27
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?