{"id":13402343,"url":"https://github.com/visjs/vis-network","last_synced_at":"2025-05-13T18:04:48.253Z","repository":{"id":37284972,"uuid":"197249796","full_name":"visjs/vis-network","owner":"visjs","description":":dizzy: Display dynamic, automatically organised, customizable network views.","archived":false,"fork":false,"pushed_at":"2025-05-05T22:55:28.000Z","size":1383769,"stargazers_count":3249,"open_issues_count":338,"forks_count":390,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-05-06T17:13:40.940Z","etag":null,"topics":["diagram","hacktoberfest","network","visjs"],"latest_commit_sha":null,"homepage":"https://visjs.github.io/vis-network/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/visjs.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE-APACHE-2.0","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":"visjs","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-16T18:47:11.000Z","updated_at":"2025-05-06T11:00:02.000Z","dependencies_parsed_at":"2023-12-19T12:34:48.231Z","dependency_job_id":"32f76248-32c0-4d1d-8825-8ddd811f4698","html_url":"https://github.com/visjs/vis-network","commit_stats":{"total_commits":3630,"total_committers":148,"mean_commits":"24.527027027027028","dds":0.7052341597796143,"last_synced_commit":"f633b2980b331745ca85046ddaaf9815e20afd9b"},"previous_names":[],"tags_count":184,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visjs%2Fvis-network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visjs%2Fvis-network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visjs%2Fvis-network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visjs%2Fvis-network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visjs","download_url":"https://codeload.github.com/visjs/vis-network/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253844009,"owners_count":21972993,"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":["diagram","hacktoberfest","network","visjs"],"created_at":"2024-07-30T19:01:14.805Z","updated_at":"2025-05-13T18:04:48.229Z","avatar_url":"https://github.com/visjs.png","language":"JavaScript","readme":"# vis-network\n\n![example chart](common-docs-files/img/network.png)\n\nNetwork is a visualization to display networks and networks consisting of nodes and edges. The visualization is easy to use and supports custom shapes, styles, colors, sizes, images, and more. The network visualization works smooth on any modern browser for up to a few thousand nodes and edges. To handle a larger amount of nodes, Network has clustering support. Network uses HTML canvas for rendering.\n\n## Badges\n\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Renovate](https://badges.renovateapi.com/github/visjs/vis-network)](https://app.renovatebot.com/)\n[![npm](https://img.shields.io/npm/v/vis-network)](https://www.npmjs.com/package/vis-network)\n\n[![dependencies Status](https://david-dm.org/visjs/vis-network/status.svg)](https://david-dm.org/visjs/vis-network)\n[![devDependencies Status](https://david-dm.org/visjs/vis-network/dev-status.svg)](https://david-dm.org/visjs/vis-network?type=dev)\n[![peerDependencies Status](https://david-dm.org/visjs/vis-network/peer-status.svg)](https://david-dm.org/visjs/vis-network?type=peer)\n\n[![GitHub contributors](https://img.shields.io/github/contributors/visjs/vis-network.svg)](https://github.com/visjs/vis-network/graphs/contributors)\n[![Backers on Open Collective](https://opencollective.com/visjs/backers/badge.svg)](#backers)\n[![Sponsors on Open Collective](https://opencollective.com/visjs/sponsors/badge.svg)](#sponsors)\n\n## Install\n\nInstall via npm:\n\n    $ npm install vis-network\n\n## Example\n\nA basic example on loading a Network is shown below. More examples can be\nfound in the [examples directory](https://github.com/visjs/vis-network/tree/master/examples/)\nof the project.\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003ctitle\u003eNetwork\u003c/title\u003e\n    \u003cscript\n      type=\"text/javascript\"\n      src=\"https://unpkg.com/vis-network/standalone/umd/vis-network.min.js\"\n    \u003e\u003c/script\u003e\n    \u003cstyle type=\"text/css\"\u003e\n      #mynetwork {\n        width: 600px;\n        height: 400px;\n        border: 1px solid lightgray;\n      }\n    \u003c/style\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv id=\"mynetwork\"\u003e\u003c/div\u003e\n    \u003cscript type=\"text/javascript\"\u003e\n      // create an array with nodes\n      var nodes = new vis.DataSet([\n        { id: 1, label: \"Node 1\" },\n        { id: 2, label: \"Node 2\" },\n        { id: 3, label: \"Node 3\" },\n        { id: 4, label: \"Node 4\" },\n        { id: 5, label: \"Node 5\" },\n      ]);\n\n      // create an array with edges\n      var edges = new vis.DataSet([\n        { from: 1, to: 3 },\n        { from: 1, to: 2 },\n        { from: 2, to: 4 },\n        { from: 2, to: 5 },\n        { from: 3, to: 3 },\n      ]);\n\n      // create a network\n      var container = document.getElementById(\"mynetwork\");\n      var data = {\n        nodes: nodes,\n        edges: edges,\n      };\n      var options = {};\n      var network = new vis.Network(container, data, options);\n    \u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Build\n\nTo build the library from source, clone the project from github\n\n    $ git clone git://github.com/visjs/vis-network.git\n\nThe source code uses the module style of node (require and module.exports) to\norganize dependencies. To install all dependencies and build the library,\nrun `npm install` in the root of the project.\n\n    $ cd vis-network\n    $ npm install\n\nThen, the project can be build running:\n\n    $ npm run build\n\n## Test\n\nTo test the library, install the project dependencies once:\n\n    $ npm install\n\nThen run the tests:\n\n    $ npm run test\n\n## Contribute\n\nContributions to the vis.js library are very welcome! We can't do this alone!\n\n### Backers\n\nThank you to all our backers! 🙏\n\n\u003ca href=\"https://opencollective.com/visjs#backers\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/backers.svg?width=890\"\u003e\u003c/a\u003e\n\n### Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website.\n\n\u003ca href=\"https://opencollective.com/visjs/sponsor/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/0/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/1/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/1/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/2/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/2/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/3/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/3/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/4/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/4/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/5/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/5/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/6/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/6/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/7/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/7/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/8/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/8/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/visjs/sponsor/9/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/visjs/sponsor/9/avatar.svg\"\u003e\u003c/a\u003e\n\n## License\n\nCopyright (C) 2010-2018 Almende B.V. and Contributors\nCopyright (c) 2018-2021 Vis.js contributors\n\nVis.js is dual licensed under both\n\n- The Apache 2.0 License\n  http://www.apache.org/licenses/LICENSE-2.0\n\nand\n\n- The MIT License\n  http://opensource.org/licenses/MIT\n\nVis.js may be distributed under either license.\n","funding_links":["https://opencollective.com/visjs"],"categories":["JavaScript","By Language","hacktoberfest","Layout Algorithm","Libraries"],"sub_categories":["JavaScript","Documentation \u0026 Help"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisjs%2Fvis-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisjs%2Fvis-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisjs%2Fvis-network/lists"}