{"action":"opened","issue":{"url":"https://api.github.com/repos/veg/phylotree.js/issues/7","labels_url":"https://api.github.com/repos/veg/phylotree.js/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/veg/phylotree.js/issues/7/comments","events_url":"https://api.github.com/repos/veg/phylotree.js/issues/7/events","html_url":"https://github.com/veg/phylotree.js/issues/7","id":107115923,"number":7,"title":"svg element is too large for radial tree","user":{"login":"kemaleren","id":694043,"avatar_url":"https://avatars.githubusercontent.com/u/694043?v=3","gravatar_id":"","url":"https://api.github.com/users/kemaleren","html_url":"https://github.com/kemaleren","followers_url":"https://api.github.com/users/kemaleren/followers","following_url":"https://api.github.com/users/kemaleren/following{/other_user}","gists_url":"https://api.github.com/users/kemaleren/gists{/gist_id}","starred_url":"https://api.github.com/users/kemaleren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemaleren/subscriptions","organizations_url":"https://api.github.com/users/kemaleren/orgs","repos_url":"https://api.github.com/users/kemaleren/repos","events_url":"https://api.github.com/users/kemaleren/events{/privacy}","received_events_url":"https://api.github.com/users/kemaleren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-18T02:12:57Z","updated_at":"2015-09-18T02:12:57Z","closed_at":null,"body":"The calculations for the size of the svg element are off, making the element too large. I suspect that `tree.pad_width` is incorrectly computed for radial trees by somehow using measurements from the non-radial layout.\r\n\r\nIn FLEA, this problem pushes the entire layout right off the page.\r\n\r\nHere is a picture, showing the svg element in blue:\r\n![radial-svg-size](https://cloud.githubusercontent.com/assets/694043/9950499/037cd118-5d70-11e5-9bc9-65c80c2f7316.png)\r\n"}}