{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/1707","repository_url":"https://api.github.com/repos/almende/vis","labels_url":"https://api.github.com/repos/almende/vis/issues/1707/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/1707/comments","events_url":"https://api.github.com/repos/almende/vis/issues/1707/events","html_url":"https://github.com/almende/vis/issues/1707","id":138499917,"number":1707,"title":"Customizable ID field for Node data structure.","user":{"login":"SwagMuffinMcYoloPants","id":5239362,"avatar_url":"https://avatars.githubusercontent.com/u/5239362?v=3","gravatar_id":"","url":"https://api.github.com/users/SwagMuffinMcYoloPants","html_url":"https://github.com/SwagMuffinMcYoloPants","followers_url":"https://api.github.com/users/SwagMuffinMcYoloPants/followers","following_url":"https://api.github.com/users/SwagMuffinMcYoloPants/following{/other_user}","gists_url":"https://api.github.com/users/SwagMuffinMcYoloPants/gists{/gist_id}","starred_url":"https://api.github.com/users/SwagMuffinMcYoloPants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwagMuffinMcYoloPants/subscriptions","organizations_url":"https://api.github.com/users/SwagMuffinMcYoloPants/orgs","repos_url":"https://api.github.com/users/SwagMuffinMcYoloPants/repos","events_url":"https://api.github.com/users/SwagMuffinMcYoloPants/events{/privacy}","received_events_url":"https://api.github.com/users/SwagMuffinMcYoloPants/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/almende/vis/labels/Network","name":"Network","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T15:17:13Z","updated_at":"2016-03-09T11:35:10Z","closed_at":null,"body":"I'm trying to make a Vis Network using Data Sets to create the node and edge data.  On the DataSet there's an property called fieldId that lets you customize the ID property it looks at for the data set.  I noticed when the data gets passed to the constructor of the Node data structure, it looks for id property which doesn't exist because I set up a custom ID on the Data Set.  This causes it to throw an error stating \"Node must have an id\".  Is it not possible to make a custom ID on the Node data structure?  I made a fiddle showing what I'm trying to do.\r\n\r\nhttps://jsfiddle.net/0yvvc40L/"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/194254171","html_url":"https://github.com/almende/vis/issues/1707#issuecomment-194254171","issue_url":"https://api.github.com/repos/almende/vis/issues/1707","id":194254171,"user":{"login":"josdejong","id":568626,"avatar_url":"https://avatars.githubusercontent.com/u/568626?v=3","gravatar_id":"","url":"https://api.github.com/users/josdejong","html_url":"https://github.com/josdejong","followers_url":"https://api.github.com/users/josdejong/followers","following_url":"https://api.github.com/users/josdejong/following{/other_user}","gists_url":"https://api.github.com/users/josdejong/gists{/gist_id}","starred_url":"https://api.github.com/users/josdejong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josdejong/subscriptions","organizations_url":"https://api.github.com/users/josdejong/orgs","repos_url":"https://api.github.com/users/josdejong/repos","events_url":"https://api.github.com/users/josdejong/events{/privacy}","received_events_url":"https://api.github.com/users/josdejong/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T11:35:10Z","updated_at":"2016-03-09T11:35:10Z","body":"Thanks, Network indeed doesn't reckon with custom ids. We will fix it."}}