{"action":"opened","issue":{"url":"https://api.github.com/repos/jgraph/mxgraph/issues/190","repository_url":"https://api.github.com/repos/jgraph/mxgraph","labels_url":"https://api.github.com/repos/jgraph/mxgraph/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/jgraph/mxgraph/issues/190/comments","events_url":"https://api.github.com/repos/jgraph/mxgraph/issues/190/events","html_url":"https://github.com/jgraph/mxgraph/issues/190","id":309829010,"number":190,"title":"Is the GroupPlusLayout.java","user":{"login":"chriseal","id":12436859,"avatar_url":"https://avatars3.githubusercontent.com/u/12436859?v=4","gravatar_id":"","url":"https://api.github.com/users/chriseal","html_url":"https://github.com/chriseal","followers_url":"https://api.github.com/users/chriseal/followers","following_url":"https://api.github.com/users/chriseal/following{/other_user}","gists_url":"https://api.github.com/users/chriseal/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseal/subscriptions","organizations_url":"https://api.github.com/users/chriseal/orgs","repos_url":"https://api.github.com/users/chriseal/repos","events_url":"https://api.github.com/users/chriseal/events{/privacy}","received_events_url":"https://api.github.com/users/chriseal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-29T16:52:44Z","updated_at":"2018-03-29T16:52:44Z","closed_at":null,"author_association":"NONE","body":"Is this [GroupPlusLayout.java](https://gist.github.com/AttilaOrs/630286f0172d98a9a5ca76649c1705c7) example refactorable to mxGraph javascript? I started to try to do it myself, but couldn't find mxGraphComponent.\r\n\r\nThe reason, I'm asking is because I'm having a similar issue as in [this closed jgraphx issue](https://github.com/jgraph/jgraphx/issues/5), in that I'm trying to create a dynamic layout that uses a hierarchical layout of nodes, each of which has collapsible children. \r\n\r\nI've gotten this to 'work' using mxStackLayout as long as I specify column indices for each parent node (as in the [folding example](https://github.com/jgraph/mxgraph/blob/master/javascript/examples/folding.html)), but would much prefer to leverage the mxHierarchicalLayout if at all possible. I've experimented with using an mxHierarchical layout for the parent nodes and mxStackLayout for the child nodes, attached to the parent, but couldn't figure it out. Is there a way to do this with mxGraph or no?"}}
{"actor":{"display_login":"chriseal"}}