{"action":"created","issue":{"url":"https://api.github.com/repos/noflo/noflo-ui/issues/443","repository_url":"https://api.github.com/repos/noflo/noflo-ui","labels_url":"https://api.github.com/repos/noflo/noflo-ui/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/noflo/noflo-ui/issues/443/comments","events_url":"https://api.github.com/repos/noflo/noflo-ui/issues/443/events","html_url":"https://github.com/noflo/noflo-ui/issues/443","id":57182920,"number":443,"title":"Bi-directional protocol commands","user":{"login":"vcharpenay","id":6052970,"avatar_url":"https://avatars2.githubusercontent.com/u/6052970?v=3","gravatar_id":"","url":"https://api.github.com/users/vcharpenay","html_url":"https://github.com/vcharpenay","followers_url":"https://api.github.com/users/vcharpenay/followers","following_url":"https://api.github.com/users/vcharpenay/following{/other_user}","gists_url":"https://api.github.com/users/vcharpenay/gists{/gist_id}","starred_url":"https://api.github.com/users/vcharpenay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcharpenay/subscriptions","organizations_url":"https://api.github.com/users/vcharpenay/orgs","repos_url":"https://api.github.com/users/vcharpenay/repos","events_url":"https://api.github.com/users/vcharpenay/events{/privacy}","received_events_url":"https://api.github.com/users/vcharpenay/received_events","type":"User","site_admin":false},"labels":[{"id":84987639,"url":"https://api.github.com/repos/noflo/noflo-ui/labels/runtime","name":"runtime","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2015-02-10T14:41:52Z","updated_at":"2017-03-30T16:25:06Z","closed_at":null,"body":"All Graph sub-protocol commands are sent from the UI to the runtime. Commands sent from the runtime to the UI are ignored. It prevents the runtime from performing automatic changes to the graph that is currently edited in the UI. Why not making these messages bi-directional? Use cases may comprise:\n- automatically suggest links between existing nodes under certain conditions (`addedge` command)\n- automatically add pre-configured nodes (e.g. with IIP) to a new graph (`addnode` command)\n- reload a graph stored in the runtime (for instance following `component` messages sent after a `list` request).\n- change edge color according to a runtime-specific logic, such as packet type going through the edge, not allowed wiring... (`changeedge` command)\n\nAnd where are such graph commands likely to be processed within noflo-ui's code?\n"},"comment":{"url":"https://api.github.com/repos/noflo/noflo-ui/issues/comments/290464672","html_url":"https://github.com/noflo/noflo-ui/issues/443#issuecomment-290464672","issue_url":"https://api.github.com/repos/noflo/noflo-ui/issues/443","id":290464672,"user":{"login":"jonnor","id":45185,"avatar_url":"https://avatars0.githubusercontent.com/u/45185?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnor","html_url":"https://github.com/jonnor","followers_url":"https://api.github.com/users/jonnor/followers","following_url":"https://api.github.com/users/jonnor/following{/other_user}","gists_url":"https://api.github.com/users/jonnor/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnor/subscriptions","organizations_url":"https://api.github.com/users/jonnor/orgs","repos_url":"https://api.github.com/users/jonnor/repos","events_url":"https://api.github.com/users/jonnor/events{/privacy}","received_events_url":"https://api.github.com/users/jonnor/received_events","type":"User","site_admin":false},"created_at":"2017-03-30T16:25:06Z","updated_at":"2017-03-30T16:25:06Z","body":"There was a PR proposed here, https://github.com/noflo/noflo-ui/pull/564"}}
{"actor":{"display_login":"jonnor"}}