{"action":"created","issue":{"url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/967","labels_url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/967/labels{/name}","comments_url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/967/comments","events_url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/967/events","html_url":"https://github.com/cytoscape/cytoscape.js/issues/967","id":86254375,"number":967,"title":"Improve styling for selected elements","user":{"login":"sylvain-hamel","id":1754010,"avatar_url":"https://avatars.githubusercontent.com/u/1754010?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvain-hamel","html_url":"https://github.com/sylvain-hamel","followers_url":"https://api.github.com/users/sylvain-hamel/followers","following_url":"https://api.github.com/users/sylvain-hamel/following{/other_user}","gists_url":"https://api.github.com/users/sylvain-hamel/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvain-hamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvain-hamel/subscriptions","organizations_url":"https://api.github.com/users/sylvain-hamel/orgs","repos_url":"https://api.github.com/users/sylvain-hamel/repos","events_url":"https://api.github.com/users/sylvain-hamel/events{/privacy}","received_events_url":"https://api.github.com/users/sylvain-hamel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-08T16:55:52Z","updated_at":"2015-06-10T22:28:08Z","closed_at":"2015-06-09T21:05:43Z","body":"My issue is that I can't find a way to properly highlight selected nodes. I can change the appearance of the label and of the node individually but I need to style the outline of the two together. \r\n\r\nFeature request 1: Support `outline` styling for a `:selected` node.\r\nFeature request 2: Support a visible selection box around the selected objects.\r\n\r\nIt is feature 1 that I need the most, feature 2 is a nice to have.\r\n\r\nThe result would be:\r\n\r\n![untitled_-_paint net_4 0 5_2015-06-08_12-44-06](https://cloud.githubusercontent.com/assets/1754010/8040278/200bdc26-0ddd-11e5-97e8-95c4f9f0c337.png)\r\n\r\nI took this styling from Visio:\r\n\r\n![2015-06-08_12-52-07](https://cloud.githubusercontent.com/assets/1754010/8040296/3edd9590-0ddd-11e5-9fdd-eaf489ff405b.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/comments/110936193","html_url":"https://github.com/cytoscape/cytoscape.js/issues/967#issuecomment-110936193","issue_url":"https://api.github.com/repos/cytoscape/cytoscape.js/issues/967","id":110936193,"user":{"login":"sylvain-hamel","id":1754010,"avatar_url":"https://avatars.githubusercontent.com/u/1754010?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvain-hamel","html_url":"https://github.com/sylvain-hamel","followers_url":"https://api.github.com/users/sylvain-hamel/followers","following_url":"https://api.github.com/users/sylvain-hamel/following{/other_user}","gists_url":"https://api.github.com/users/sylvain-hamel/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvain-hamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvain-hamel/subscriptions","organizations_url":"https://api.github.com/users/sylvain-hamel/orgs","repos_url":"https://api.github.com/users/sylvain-hamel/repos","events_url":"https://api.github.com/users/sylvain-hamel/events{/privacy}","received_events_url":"https://api.github.com/users/sylvain-hamel/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T22:28:08Z","updated_at":"2015-06-10T22:28:08Z","body":"That is what I tried (at least I think) but it does not work. \r\n\r\nSee: http://jsbin.com/dunicojeki/2/edit\r\n\r\nAlthough I set the `overlay-color: blue;` for `:selected` it becomes blue only while being moved.\r\n"}}