{"id":13701518,"url":"https://github.com/samizdatco/arbor","last_synced_at":"2025-05-15T09:06:40.498Z","repository":{"id":1304277,"uuid":"1246599","full_name":"samizdatco/arbor","owner":"samizdatco","description":"a graph visualization library using web workers and jQuery","archived":false,"fork":false,"pushed_at":"2020-04-10T22:24:22.000Z","size":1221,"stargazers_count":2665,"open_issues_count":56,"forks_count":633,"subscribers_count":156,"default_branch":"master","last_synced_at":"2025-05-14T14:31:47.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://arborjs.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samizdatco.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-01-12T17:03:40.000Z","updated_at":"2025-05-09T12:16:03.000Z","dependencies_parsed_at":"2022-07-06T19:31:53.876Z","dependency_job_id":null,"html_url":"https://github.com/samizdatco/arbor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samizdatco%2Farbor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samizdatco%2Farbor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samizdatco%2Farbor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samizdatco%2Farbor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samizdatco","download_url":"https://codeload.github.com/samizdatco/arbor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310515,"owners_count":22049469,"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-08-02T20:01:44.939Z","updated_at":"2025-05-15T09:06:40.453Z","avatar_url":"https://github.com/samizdatco.png","language":"JavaScript","funding_links":[],"categories":["Animation","JavaScript","Data Visualization","Framework or Library","Data Visualization [🔝](#readme)","数据可视化"],"sub_categories":["Images, Maps and Charts","Runner","Charts","运行器","运行器e2e测试"],"readme":"arbor.js\n--------\n\nArbor is a graph visualization library built with web workers and\njQuery. Rather than trying to be an all-encompassing framework, arbor\nprovides an efficient, force-directed layout algorithm plus\nabstractions for graph organization and screen refresh handling.\n\nIt leaves the actual screen-drawing to you. This means you can use it\nwith canvas, SVG, or even positioned HTML elements; whatever display\napproach is appropriate for your project and your performance needs.\n\nAs a result, the code you write with it can be focused on the things\nthat make your project unique – the graph data and your visual style\n– rather than spending time on the physics math that makes the\nlayouts possible.\n\nInstallation\n------------\n\nTo use the particle system, add jquery and the file at lib/arbor.js\nto your path somewhere and include them in your html:\n\n  \u003cscript src=\"path/to/jquery.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"path/to/arbor.js\"\u003e\u003c/script\u003e  \n\nIf you want to let arbor handle realtime color and value tweens for\nyou, include the arbor-tween.js file as well. This will add a pair of\nnew tweening methods to the ParticleSystem object (see the docs to\ndecide if this appeals to you or not).\n\n  \u003cscript src=\"path/to/jquery.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"path/to/arbor.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"path/to/arbor-tween.js\"\u003e\u003c/script\u003e\n\n\nGetting Started\n---------------\n\nThe docs folder contains a sample project that demonstrates some of the\nbasic idioms for working with the library to build a visualization. More\ndetailed documentation can be found at http://arborjs.org/reference.\n\nIn addition, the demos folder contains standalone versions of the demos\nat arborjs.org. But since all of them use xhr to fetch their data, you'll \nstill need to view them from an http server. If you don't have a copy of\napache handy, use the demo-server.sh script to create a local server.\n\nColophon\n--------\n\nArbor’s design is heavily influenced by Jeffrey Bernstein’s excellent\nTraer Physics[1] library for Processing. In addition, much of the\nphysics code has been adapted from Dennis Hotson’s springy.js[2]. The\nBarnes-Hut n-body implementation is based on Tom Ventimiglia and Kevin \nWayne’s vivid description[3] of the algorithm.\n\nThanks to all for releasing such elegantly simple and comprehensible\ncode.\n\n[1] \u003chttp://murderandcreate.com/physics/\u003e\n[2] \u003chttps://github.com/dhotson/springy\u003e\n[3] \u003chttp://arborjs.org/docs/barnes-hut\u003e\n\nContribute\n----------\n\nCode submissions are greatly appreciated and highly encouraged. Please send\npull requests with fixes/enhancements/etc. to samizdatco on github. The \noldschool may also pipe their diff -u output to info@arborjs.org.\n\nLicense\n-------\n\nArbor is released under the MIT license. http://en.wikipedia.org/wiki/MIT_License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamizdatco%2Farbor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamizdatco%2Farbor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamizdatco%2Farbor/lists"}