{"action":"opened","issue":{"url":"https://api.github.com/repos/almende/vis/issues/3820","repository_url":"https://api.github.com/repos/almende/vis","labels_url":"https://api.github.com/repos/almende/vis/issues/3820/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/3820/comments","events_url":"https://api.github.com/repos/almende/vis/issues/3820/events","html_url":"https://github.com/almende/vis/issues/3820","id":296711064,"number":3820,"title":"vis does not create a hierarchical layout ","user":{"login":"spnzig","id":30037676,"avatar_url":"https://avatars2.githubusercontent.com/u/30037676?v=4","gravatar_id":"","url":"https://api.github.com/users/spnzig","html_url":"https://github.com/spnzig","followers_url":"https://api.github.com/users/spnzig/followers","following_url":"https://api.github.com/users/spnzig/following{/other_user}","gists_url":"https://api.github.com/users/spnzig/gists{/gist_id}","starred_url":"https://api.github.com/users/spnzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spnzig/subscriptions","organizations_url":"https://api.github.com/users/spnzig/orgs","repos_url":"https://api.github.com/users/spnzig/repos","events_url":"https://api.github.com/users/spnzig/events{/privacy}","received_events_url":"https://api.github.com/users/spnzig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-13T11:54:52Z","updated_at":"2018-02-13T11:54:52Z","closed_at":null,"author_association":"NONE","body":"I am trying to display nodes and edges with vis.js in a hierarchy with the below options\r\n```\r\noptions.layout.hierarchical = true;\r\noptions.edges.smooth = false;\r\noptions.layout = {improvedLayout : false};\r\n```\r\nHowever the nodes are not getting arranged in a hierarchical manner and they do not seem to stabilise.\r\nIf i remove the **improvedLayout: false option**, the browser just becomes unresponsive while loading the huge data. I tested this on Chrome as well as firefox.\r\n\r\nI have also tried setting the layout to hierarchical\r\n\r\n```\r\nlayout :{\r\n  hierarchical: {\r\n       enabled: true,\r\n       levelSeparation: 300,\r\n      nodeSpacing: 100,\r\n      direction: 'UD',\r\n      sortMethod: 'directed',\r\n  }\r\n}\r\n```\r\n\r\nStill my graph shows clusters and not hierarchy. Is there any way to solve this?\r\n\r\n"}}
{"actor":{"display_login":"spnzig"}}