{"id":13481286,"url":"https://github.com/tgdwyer/WebCola","last_synced_at":"2025-03-27T11:32:12.168Z","repository":{"id":9430084,"uuid":"11303445","full_name":"tgdwyer/WebCola","owner":"tgdwyer","description":"Javascript constraint-based graph layout","archived":false,"fork":false,"pushed_at":"2023-07-19T00:21:04.000Z","size":42054,"stargazers_count":2018,"open_issues_count":107,"forks_count":258,"subscribers_count":70,"default_branch":"master","last_synced_at":"2024-10-29T15:03:48.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://marvl.infotech.monash.edu/webcola/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tgdwyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2013-07-10T05:42:18.000Z","updated_at":"2024-10-26T01:51:17.000Z","dependencies_parsed_at":"2023-01-13T15:30:17.311Z","dependency_job_id":"c4cc005c-663b-4944-8e46-05641876560a","html_url":"https://github.com/tgdwyer/WebCola","commit_stats":{"total_commits":610,"total_committers":45,"mean_commits":"13.555555555555555","dds":"0.42622950819672134","last_synced_commit":"78a24fc0dbf0b4eb4a12386db9c09b087633267d"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdwyer%2FWebCola","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdwyer%2FWebCola/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdwyer%2FWebCola/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdwyer%2FWebCola/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tgdwyer","download_url":"https://codeload.github.com/tgdwyer/WebCola/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791965,"owners_count":20672671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T17:00:50.461Z","updated_at":"2025-03-27T11:32:12.150Z","avatar_url":"https://github.com/tgdwyer.png","language":"TypeScript","readme":"WebCola [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n=======\r\n\r\nJavaScript constraint based layout for high-quality graph visualization and exploration \r\nusing D3.js and other web-based graphics libraries.\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"http://marvl.infotech.monash.edu/webcola/examples/smallworldwithgroups.html\"\u003e\r\n    \u003cimg width=\"400\" alt=\"Graph with simple groups\" src=\"WebCola/examples/smallworldwithgroups.png\" /\u003e\r\n  \u003c/a\u003e\r\n  \u003ca href=\"http://marvl.infotech.monash.edu/webcola/examples/alignment.html\"\u003e\r\n    \u003cimg width=\"400\" alt=\"Graph with alignment constraints\" src=\"WebCola/examples/alignment.png\" /\u003e\r\n  \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n[Homepage with code and more examples](http://marvl.infotech.monash.edu/webcola)\r\n\r\nNote: 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.\r\n\r\nInstallation\r\n------------\r\n\r\n#### Browser:\r\n```html\r\n\u003c!-- Minified version --\u003e\r\n\u003cscript src=\"http://marvl.infotech.monash.edu/webcola/cola.min.js\"\u003e\u003c/script\u003e\r\n\u003c!-- Full version --\u003e\r\n\u003cscript src=\"http://marvl.infotech.monash.edu/webcola/cola.js\"\u003e\u003c/script\u003e\r\n```\r\n\r\nThe minified version can also be accessed from [jsDelivr](https://cdn.jsdelivr.net/gh/tgdwyer/WebCola/WebCola/cola.min.js).\r\n\r\n#### Npm:\r\n\t\r\n\tnpm install webcola --save\r\n\r\nYou can also install it through npm by first adding it to `package.json`:\r\n\r\n    \"dependencies\": {\r\n      \"webcola\": \"latest\"\r\n    }\r\nThen by running `npm install`.\r\n\r\n#### Bower:\r\n\r\n\tbower install webcola --save\r\n\r\nIf you use TypeScript, you can get complete TypeScript definitions by installing [tsd 0.6](https://github.com/DefinitelyTyped/tsd) and running `tsd link`.\r\n\r\nBuilding\r\n--------\r\n\r\n*Linux/Mac/Windows Command Line:*\r\n\r\n - install [node.js](http://nodejs.org)\r\n\r\n - from the WebCola directory:\r\n\r\n        npm install\r\n\r\n - build, minify and test:\r\n\r\n        npm run build\r\n        npm run test\r\n\r\nThis creates the `cola.js` and `cola.min.js` files in the `dist` directory and runs tests.\r\n\r\n*Visual Studio:*\r\n\r\n - get the [typescript plugin](http://www.typescriptlang.org/#Download)\r\n - open webcola.sln\r\n\r\nRunning\r\n-------\r\n\r\n*Linux/Mac/Windows Command Line:*\r\n\r\nInstall the Node.js http-server module:\r\n\r\n    npm install -g http-server\r\n\r\nAfter installing http-server, we can serve out the example content in the WebCola directory.\r\n\r\n    npm run website\r\n    http-server website\r\n\r\nThe default configuration of http-server will serve the exampes on [http://localhost:8080](http://localhost:8080).\r\n","funding_links":[],"categories":["TypeScript","others","Charts","Repository","Layout Algorithm"],"sub_categories":["Data Visualization"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgdwyer%2FWebCola","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftgdwyer%2FWebCola","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgdwyer%2FWebCola/lists"}