{"action":"closed","issue":{"url":"https://api.github.com/repos/PathwayCommons/sbgnviz-js/issues/84","labels_url":"https://api.github.com/repos/PathwayCommons/sbgnviz-js/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/PathwayCommons/sbgnviz-js/issues/84/comments","events_url":"https://api.github.com/repos/PathwayCommons/sbgnviz-js/issues/84/events","html_url":"https://github.com/PathwayCommons/sbgnviz-js/issues/84","id":114109765,"number":84,"title":"Search by label & highlight","user":{"login":"ugurdogrusoz","id":3874988,"avatar_url":"https://avatars.githubusercontent.com/u/3874988?v=3","gravatar_id":"","url":"https://api.github.com/users/ugurdogrusoz","html_url":"https://github.com/ugurdogrusoz","followers_url":"https://api.github.com/users/ugurdogrusoz/followers","following_url":"https://api.github.com/users/ugurdogrusoz/following{/other_user}","gists_url":"https://api.github.com/users/ugurdogrusoz/gists{/gist_id}","starred_url":"https://api.github.com/users/ugurdogrusoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugurdogrusoz/subscriptions","organizations_url":"https://api.github.com/users/ugurdogrusoz/orgs","repos_url":"https://api.github.com/users/ugurdogrusoz/repos","events_url":"https://api.github.com/users/ugurdogrusoz/events{/privacy}","received_events_url":"https://api.github.com/users/ugurdogrusoz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ugurdogrusoz","id":3874988,"avatar_url":"https://avatars.githubusercontent.com/u/3874988?v=3","gravatar_id":"","url":"https://api.github.com/users/ugurdogrusoz","html_url":"https://github.com/ugurdogrusoz","followers_url":"https://api.github.com/users/ugurdogrusoz/followers","following_url":"https://api.github.com/users/ugurdogrusoz/following{/other_user}","gists_url":"https://api.github.com/users/ugurdogrusoz/gists{/gist_id}","starred_url":"https://api.github.com/users/ugurdogrusoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugurdogrusoz/subscriptions","organizations_url":"https://api.github.com/users/ugurdogrusoz/orgs","repos_url":"https://api.github.com/users/ugurdogrusoz/repos","events_url":"https://api.github.com/users/ugurdogrusoz/events{/privacy}","received_events_url":"https://api.github.com/users/ugurdogrusoz/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-10-29T17:59:22Z","updated_at":"2015-11-05T14:20:56Z","closed_at":"2015-11-05T14:20:56Z","body":"Let's implement a facility (available through the toolbar only) which has a text field next to (to the left of) a search icon (attached) and searches the entered text (on Enter) in the current map.\r\n![search](https://cloud.githubusercontent.com/assets/3874988/10852914/cd07cdac-7f09-11e5-9477-6b1e5a326962.png)\r\n\r\nUpon Enter, if the field is not empty, we search the current map and find all the nodes with label that includes the specified text, and perform a Highlight Processes of Selected operation on these nodes. In addition, let's also unselect any selected objects and select these nodes found by search (only those that are input to the Highlight Processes of Selected operation).\r\n\r\nFor instance, if the user searches for \"mera\" in glycolysis.sbgnml, they would get:\r\n![search-example](https://cloud.githubusercontent.com/assets/3874988/10853242/77826fca-7f0b-11e5-8e47-2494da259e4d.png)\r\n\r\nWe should add this operation to the Highlight menu:\r\n    Search ...\r\n    Neighbor of Selected\r\n    Processes of Selected\r\n    Remove Highlights\r\nsuch that, when clicked, the focus will go to the text field in the toolbar."}}