{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/1196","labels_url":"https://api.github.com/repos/almende/vis/issues/1196/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/1196/comments","events_url":"https://api.github.com/repos/almende/vis/issues/1196/events","html_url":"https://github.com/almende/vis/issues/1196","id":101657640,"number":1196,"title":"Draw a Network using JSON (datasource)","user":{"login":"devgitk","id":12658481,"avatar_url":"https://avatars.githubusercontent.com/u/12658481?v=3","gravatar_id":"","url":"https://api.github.com/users/devgitk","html_url":"https://github.com/devgitk","followers_url":"https://api.github.com/users/devgitk/followers","following_url":"https://api.github.com/users/devgitk/following{/other_user}","gists_url":"https://api.github.com/users/devgitk/gists{/gist_id}","starred_url":"https://api.github.com/users/devgitk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devgitk/subscriptions","organizations_url":"https://api.github.com/users/devgitk/orgs","repos_url":"https://api.github.com/users/devgitk/repos","events_url":"https://api.github.com/users/devgitk/events{/privacy}","received_events_url":"https://api.github.com/users/devgitk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-18T13:42:03Z","updated_at":"2015-08-19T08:37:45Z","closed_at":null,"body":"Hi,\r\nJust wanted to know if we will be able to load/parse a JSON containing Nodes and Edges and draw a Network. Looking for a straight forward simple approach! \r\n- Checked the 'World cup' example and seems like the data is getting loaded from a JS library.\r\n- JSON looks like : \r\n {\r\n    \"nodes\": [\r\n        {\r\n        // Node properties\r\n        }\r\n    ],\r\n    \"edges\": [\r\n        {\r\n        // Edge properties\r\n         }\r\n    ]\r\n }\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/132493959","html_url":"https://github.com/almende/vis/issues/1196#issuecomment-132493959","issue_url":"https://api.github.com/repos/almende/vis/issues/1196","id":132493959,"user":{"login":"AlexDM0","id":5363277,"avatar_url":"https://avatars.githubusercontent.com/u/5363277?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexDM0","html_url":"https://github.com/AlexDM0","followers_url":"https://api.github.com/users/AlexDM0/followers","following_url":"https://api.github.com/users/AlexDM0/following{/other_user}","gists_url":"https://api.github.com/users/AlexDM0/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDM0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDM0/subscriptions","organizations_url":"https://api.github.com/users/AlexDM0/orgs","repos_url":"https://api.github.com/users/AlexDM0/repos","events_url":"https://api.github.com/users/AlexDM0/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDM0/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T08:37:45Z","updated_at":"2015-08-19T08:37:45Z","body":"I would even go as far as to say it's rediculous to use a library for this (unless you already use one for other purposes). \n\nhttps://github.com/almende/vis/blob/master/examples/network/exampleUtil.js#L5\n\nWe provide the function we use, it's pure JavaScript and only a few lines. No dependencies at all. \n\nThis will never get into vis itself for the exact reasons mentioned by @Tooa\n\nRegards,\n\nAlex"}}