| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
9年前发布

JavaScript的基于约束的图形布局:WebCola

JavaScript的基于约束的布局使用D3.js和其他基于Web的图形库实现高品质的图形可视化和浏览。

Installation

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

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

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

Then by runningnpm install.

If you use TypeScript, you can get complete TypeScript definitions by installing tsd 0.6 and runningtsd 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 grunt

npm install

  • build, minify and test:

grunt

This creates the cola.v3.min.js file in the WebCola directory.

grunt commonjs

This creates index.js for npm.

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.

JavaScript的基于约束的图形布局:WebCola

JavaScript的基于约束的图形布局:WebCola

项目主页:http://www.open-open.com/lib/view/home/1436252117770

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1436252117770.html
WebCola JavaScript开发工具包