{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/1805","repository_url":"https://api.github.com/repos/almende/vis","labels_url":"https://api.github.com/repos/almende/vis/issues/1805/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/1805/comments","events_url":"https://api.github.com/repos/almende/vis/issues/1805/events","html_url":"https://github.com/almende/vis/issues/1805","id":149233880,"number":1805,"title":"Edges between nodes being clustered remain as ghosts.","user":{"login":"shockdm","id":18537465,"avatar_url":"https://avatars.githubusercontent.com/u/18537465?v=3","gravatar_id":"","url":"https://api.github.com/users/shockdm","html_url":"https://github.com/shockdm","followers_url":"https://api.github.com/users/shockdm/followers","following_url":"https://api.github.com/users/shockdm/following{/other_user}","gists_url":"https://api.github.com/users/shockdm/gists{/gist_id}","starred_url":"https://api.github.com/users/shockdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shockdm/subscriptions","organizations_url":"https://api.github.com/users/shockdm/orgs","repos_url":"https://api.github.com/users/shockdm/repos","events_url":"https://api.github.com/users/shockdm/events{/privacy}","received_events_url":"https://api.github.com/users/shockdm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-18T18:31:02Z","updated_at":"2016-04-18T19:40:55Z","closed_at":null,"body":"Hi folks!\r\n\r\nI am having a bit trouble with clustering. If nodes within the cluster are not interconnected, i.e. nodes follow star pattern with heart of cluster being in the middle - no issues. However if any of the star branches have edges to other nodes in the same cluster - upon clustering those edges will remain as ghosting edges, i.e:\r\n\r\n**Unclustered**:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/18537465/14614985/93c45cce-0571-11e6-8474-b808fea5710d.png)\r\n\r\n**Clustered based on test node by connection**: \r\n\r\n![image](https://cloud.githubusercontent.com/assets/18537465/14615004/a65f1298-0571-11e6-8c9e-4f71051070e6.png)\r\n\r\nSeems that the code only hides edges that are directly connected to the cluster heart. \r\nIs there anything I am doing wrong? Simply calling:\r\n\r\n```javascript\r\nfunction createCluster(id){\r\n\tnetwork.clusterByConnection(id);\t\r\n}\r\n```\r\n\r\nI realize that I can manually fetch the nodes within the cluster and go through, hiding edges that are in-between them. But was wondering if this is a part of clustering login already and I am missing something.\r\n\r\nAny help would be highly appreciated!\r\nAmazing project by the way! Wouldn't mind contributing."},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/211545557","html_url":"https://github.com/almende/vis/issues/1805#issuecomment-211545557","issue_url":"https://api.github.com/repos/almende/vis/issues/1805","id":211545557,"user":{"login":"shockdm","id":18537465,"avatar_url":"https://avatars.githubusercontent.com/u/18537465?v=3","gravatar_id":"","url":"https://api.github.com/users/shockdm","html_url":"https://github.com/shockdm","followers_url":"https://api.github.com/users/shockdm/followers","following_url":"https://api.github.com/users/shockdm/following{/other_user}","gists_url":"https://api.github.com/users/shockdm/gists{/gist_id}","starred_url":"https://api.github.com/users/shockdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shockdm/subscriptions","organizations_url":"https://api.github.com/users/shockdm/orgs","repos_url":"https://api.github.com/users/shockdm/repos","events_url":"https://api.github.com/users/shockdm/events{/privacy}","received_events_url":"https://api.github.com/users/shockdm/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T19:40:55Z","updated_at":"2016-04-18T19:40:55Z","body":"That would be 4.15.1"}}