{"id":15105348,"url":"https://github.com/suven/ember-cli-visjs","last_synced_at":"2025-09-27T03:30:40.379Z","repository":{"id":57223541,"uuid":"56301894","full_name":"Suven/ember-cli-visjs","owner":"Suven","description":"Create touch, scroll and zoomable graphs with nodes and edges via vis.js","archived":true,"fork":false,"pushed_at":"2019-08-08T06:29:39.000Z","size":748,"stargazers_count":10,"open_issues_count":9,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-17T01:44:54.584Z","etag":null,"topics":["ember","emberjs","visjs"],"latest_commit_sha":null,"homepage":"http://suven.github.io/ember-cli-visjs/","language":"JavaScript","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/Suven.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-15T07:53:22.000Z","updated_at":"2024-05-30T03:16:45.000Z","dependencies_parsed_at":"2022-08-24T16:21:07.032Z","dependency_job_id":null,"html_url":"https://github.com/Suven/ember-cli-visjs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suven%2Fember-cli-visjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suven%2Fember-cli-visjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suven%2Fember-cli-visjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suven%2Fember-cli-visjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suven","download_url":"https://codeload.github.com/Suven/ember-cli-visjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234376917,"owners_count":18822416,"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":["ember","emberjs","visjs"],"created_at":"2024-09-25T20:23:38.551Z","updated_at":"2025-09-27T03:30:39.761Z","avatar_url":"https://github.com/Suven.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ember-cli-visjs [![Build Status](https://travis-ci.org/Suven/ember-cli-visjs.svg?branch=master)](https://travis-ci.org/Suven/ember-cli-visjs) [![Ember Observer Score](https://emberobserver.com/badges/ember-cli-visjs.svg)](https://emberobserver.com/addons/ember-cli-visjs)\n\nSimple ember-wrapper around [vis.js by almende](https://github.com/almende/vis).\n\nSee the [demo](http://suven.github.io/ember-cli-visjs/) for examples and usage-infos.\n\nA big _thank you_ to [ember-leaflet](https://github.com/miguelcobain/ember-leaflet) for their container/child-mixins.\n\n## Installation\n\nMake sure you are using a somewhat recent version of nodejs when installing. Everything \u003e 4 should be fine.\n\n`ember install ember-cli-visjs`\n\n## Usage\n\n```handlebars\n{{#visjs-network backgroundImage='wp.png'}}\n  {{!-- Adding nodes is as simple as passing a unique id to a component. The rest is optional --}}\n  {{visjs-node nId=1 label='A' select=(action 'nodeClicked') color='#ff0000'}}\n  {{visjs-node nId=2 label='B'}}\n  {{visjs-node nId=3 label='C' posX=100 posY=100}}\n\n  {{!-- Node-Relations are given by edges --}}\n  {{visjs-edge from=1 to=2}}\n  {{visjs-edge from=1 to=3 arrows='to'}}\n\n  {{!-- Feel free to use whatever nesting you wish. It's just hbs --}}\n  {{#if fooIsTrue}}\n    {{visjs-node nId=5 label='Optional'}}\n  {{/if}}\n  {{#each bars as |bar|}}\n    {{visjs-node nId=bar.id}}\n  {{/each}}\n{{/visjs-network}}\n```\n\nFor all supported options see the [demo](http://suven.github.io/ember-cli-visjs/).\n\n## Running tests\n\nThe test-execution requires you to have phantomjs 2.x.x installed.\n\n`ember test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuven%2Fember-cli-visjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuven%2Fember-cli-visjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuven%2Fember-cli-visjs/lists"}