{"action":"created","issue":{"url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/844","labels_url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/844/comments","events_url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/844/events","html_url":"https://github.com/cytoscape/cytoscape.js/issues/844","id":59426259,"number":844,"title":"Dagre seems to have problems with compound nodes","user":{"login":"Braintelligence","id":6761196,"avatar_url":"https://avatars.githubusercontent.com/u/6761196?v=3","gravatar_id":"","url":"https://api.github.com/users/Braintelligence","html_url":"https://github.com/Braintelligence","followers_url":"https://api.github.com/users/Braintelligence/followers","following_url":"https://api.github.com/users/Braintelligence/following{/other_user}","gists_url":"https://api.github.com/users/Braintelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/Braintelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Braintelligence/subscriptions","organizations_url":"https://api.github.com/users/Braintelligence/orgs","repos_url":"https://api.github.com/users/Braintelligence/repos","events_url":"https://api.github.com/users/Braintelligence/events{/privacy}","received_events_url":"https://api.github.com/users/Braintelligence/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-02T00:38:49Z","updated_at":"2015-03-02T17:25:28Z","closed_at":"2015-03-02T16:43:10Z","body":"In my source code right now, if I use layout: { name: 'cose' } I can use compound nodes without problem.\r\n\r\nIf I set it to 'dagre' I get\r\n\r\nUncaught Error: Node 'Test' is not in graph\r\n\r\nwhereas 'Test' is the parent node of several other nodes.\r\n\r\nWithout parent nodes however, 'dagre' works.\r\n\r\nAny ideas? =/"},"comment":{"url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/comments/76756445","html_url":"https://github.com/cytoscape/cytoscape.js/issues/844#issuecomment-76756445","issue_url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/844","id":76756445,"user":{"login":"maxkfranz","id":989043,"avatar_url":"https://avatars.githubusercontent.com/u/989043?v=3","gravatar_id":"","url":"https://api.github.com/users/maxkfranz","html_url":"https://github.com/maxkfranz","followers_url":"https://api.github.com/users/maxkfranz/followers","following_url":"https://api.github.com/users/maxkfranz/following{/other_user}","gists_url":"https://api.github.com/users/maxkfranz/gists{/gist_id}","starred_url":"https://api.github.com/users/maxkfranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxkfranz/subscriptions","organizations_url":"https://api.github.com/users/maxkfranz/orgs","repos_url":"https://api.github.com/users/maxkfranz/repos","events_url":"https://api.github.com/users/maxkfranz/events{/privacy}","received_events_url":"https://api.github.com/users/maxkfranz/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T17:25:28Z","updated_at":"2015-03-02T17:25:28Z","body":"It should function correctly more or less, but I think it assumes autosized parent nodes.  Otherwise, there is no way for layouts like this to position parent nodes."}}