{"action":"created","comment":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/comments/44825378","id":44825378,"diff_hunk":"@@ -442,6 +442,13 @@\n                                   Command=\"{Binding Path=NodeFromSelectionCommand}\"\n                                   Name=\"nodeFromSelection\"\n                                   InputGestureText=\"Ctrl + D\" />\n+                        <MenuItem Focusable=\"False\"                                \n+                                  Header=\"{x:Static p:Resources.NodesRunStatus}\"\n+                                  IsChecked=\"{Binding NodeRunChecked, Mode=OneWay}\"\n+                                  IsEnabled=\"{Binding NodeRunEnabled, Mode=OneWay}\"\n+                                  Command=\"{Binding Path=ComputeRunStateOfTheNodeCommand}\"","path":"src/DynamoCoreWpf/Views/Core/DynamoView.xaml","position":8,"original_position":8,"commit_id":"3a49920883144a89d4d60e9779ef1b67dc8bb87f","original_commit_id":"3a49920883144a89d4d60e9779ef1b67dc8bb87f","user":{"login":"ikeough","id":1139788,"avatar_url":"https://avatars.githubusercontent.com/u/1139788?v=3","gravatar_id":"","url":"https://api.github.com/users/ikeough","html_url":"https://github.com/ikeough","followers_url":"https://api.github.com/users/ikeough/followers","following_url":"https://api.github.com/users/ikeough/following{/other_user}","gists_url":"https://api.github.com/users/ikeough/gists{/gist_id}","starred_url":"https://api.github.com/users/ikeough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikeough/subscriptions","organizations_url":"https://api.github.com/users/ikeough/orgs","repos_url":"https://api.github.com/users/ikeough/repos","events_url":"https://api.github.com/users/ikeough/events{/privacy}","received_events_url":"https://api.github.com/users/ikeough/received_events","type":"User","site_admin":false},"body":"What is this for?","created_at":"2015-11-13T19:44:46Z","updated_at":"2015-11-13T19:44:46Z","html_url":"https://github.com/DynamoDS/Dynamo/pull/5669#discussion_r44825378","pull_request_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/5669","_links":{"self":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/comments/44825378"},"html":{"href":"https://github.com/DynamoDS/Dynamo/pull/5669#discussion_r44825378"},"pull_request":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/5669"}}},"pull_request":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/5669","id":49964308,"html_url":"https://github.com/DynamoDS/Dynamo/pull/5669","diff_url":"https://github.com/DynamoDS/Dynamo/pull/5669.diff","patch_url":"https://github.com/DynamoDS/Dynamo/pull/5669.patch","issue_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5669","number":5669,"state":"open","locked":false,"title":"As a user, I want to STOP the execution of certain nodes so that the graph will execute faster","user":{"login":"ramramps","id":8495197,"avatar_url":"https://avatars.githubusercontent.com/u/8495197?v=3","gravatar_id":"","url":"https://api.github.com/users/ramramps","html_url":"https://github.com/ramramps","followers_url":"https://api.github.com/users/ramramps/followers","following_url":"https://api.github.com/users/ramramps/following{/other_user}","gists_url":"https://api.github.com/users/ramramps/gists{/gist_id}","starred_url":"https://api.github.com/users/ramramps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramramps/subscriptions","organizations_url":"https://api.github.com/users/ramramps/orgs","repos_url":"https://api.github.com/users/ramramps/repos","events_url":"https://api.github.com/users/ramramps/events{/privacy}","received_events_url":"https://api.github.com/users/ramramps/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nThis PR refers to the below tasks \r\nhttp://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-8961\r\nhttp://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-8956\r\n\r\nHere the task is to freeze the execution of certain nodes, so that the graph will execute faster. \r\nTo accomplish this \r\n     1. IsFrozen property is added to NodeModel.\r\n      2. explictFrozen - an internal property is added to Nodemodel.\r\n\r\nIf a node is frozen by user, then explictfrozen = true and isfrozen = true. \r\nIf a node is frozen because the input node is frozen, then explictfrozen = false and isfrozen = true. \r\n\r\nBoth these properties determines the execution of a node. \r\n\r\n**UI** : Freeze is added to Context menu on the Workspace, Node and as well as on the Dynamo Toolbar.  Two properties added to NodeViewmodel\r\n 1. NodeRunChecked \r\n 2. NodeRunEnabled\r\n\r\n**Case 1** :  Default case : Freeze is enabled and unchecked.\r\n**Case 2**:   If a node is explicitly frozen, Freeze is enabled and checked.\r\n**Case 3**:   If a node is implictily frozen, Freeze is disabled and unchecked.\r\n**Case 4** :  If a node and any of its inputs are explicitly frozen, Freeze is disabled and unchecked on the child node,\r\n               \r\n \r\n## Design Document\r\n https://docs.google.com/a/adsk-oss.com/presentation/d/1MUhSzoDo-QFPysDv1E6gRslpq2pnb6eoPjKSsJN6g-o/edit?usp=sharing  \r\n\r\n## Declaration\r\nCheck these if you believe they are true\r\n\r\n- [x] The code base is in a better state after this PR\r\n- [x] Is documented according to the [standards](https://github.com/DynamoDS/Dynamo/wiki/Coding-Standards)\r\n- [x] The level of testing this PR includes is appropriate\r\n- [x] User facing strings, if any, are extracted into `*.resx` files\r\n\r\n## Reviewers\r\n@ikeough ","created_at":"2015-11-06T15:11:25Z","updated_at":"2015-11-13T19:44:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e81061aa769311d3329f922bac6ade5cc9ae1299","assignee":{"login":"ramramps","id":8495197,"avatar_url":"https://avatars.githubusercontent.com/u/8495197?v=3","gravatar_id":"","url":"https://api.github.com/users/ramramps","html_url":"https://github.com/ramramps","followers_url":"https://api.github.com/users/ramramps/followers","following_url":"https://api.github.com/users/ramramps/following{/other_user}","gists_url":"https://api.github.com/users/ramramps/gists{/gist_id}","starred_url":"https://api.github.com/users/ramramps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramramps/subscriptions","organizations_url":"https://api.github.com/users/ramramps/orgs","repos_url":"https://api.github.com/users/ramramps/repos","events_url":"https://api.github.com/users/ramramps/events{/privacy}","received_events_url":"https://api.github.com/users/ramramps/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/5669/commits","review_comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/5669/comments","review_comment_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5669/comments","statuses_url":"https://api.github.com/repos/DynamoDS/Dynamo/statuses/3a49920883144a89d4d60e9779ef1b67dc8bb87f","head":{"label":"ramramps:MAGN---8956","ref":"MAGN---8956","sha":"3a49920883144a89d4d60e9779ef1b67dc8bb87f","user":{"login":"ramramps","id":8495197,"avatar_url":"https://avatars.githubusercontent.com/u/8495197?v=3","gravatar_id":"","url":"https://api.github.com/users/ramramps","html_url":"https://github.com/ramramps","followers_url":"https://api.github.com/users/ramramps/followers","following_url":"https://api.github.com/users/ramramps/following{/other_user}","gists_url":"https://api.github.com/users/ramramps/gists{/gist_id}","starred_url":"https://api.github.com/users/ramramps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramramps/subscriptions","organizations_url":"https://api.github.com/users/ramramps/orgs","repos_url":"https://api.github.com/users/ramramps/repos","events_url":"https://api.github.com/users/ramramps/events{/privacy}","received_events_url":"https://api.github.com/users/ramramps/received_events","type":"User","site_admin":false},"repo":{"id":25597974,"name":"Dynamo","full_name":"ramramps/Dynamo","owner":{"login":"ramramps","id":8495197,"avatar_url":"https://avatars.githubusercontent.com/u/8495197?v=3","gravatar_id":"","url":"https://api.github.com/users/ramramps","html_url":"https://github.com/ramramps","followers_url":"https://api.github.com/users/ramramps/followers","following_url":"https://api.github.com/users/ramramps/following{/other_user}","gists_url":"https://api.github.com/users/ramramps/gists{/gist_id}","starred_url":"https://api.github.com/users/ramramps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramramps/subscriptions","organizations_url":"https://api.github.com/users/ramramps/orgs","repos_url":"https://api.github.com/users/ramramps/repos","events_url":"https://api.github.com/users/ramramps/events{/privacy}","received_events_url":"https://api.github.com/users/ramramps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ramramps/Dynamo","description":"Visual Programming For Revit","fork":true,"url":"https://api.github.com/repos/ramramps/Dynamo","forks_url":"https://api.github.com/repos/ramramps/Dynamo/forks","keys_url":"https://api.github.com/repos/ramramps/Dynamo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ramramps/Dynamo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ramramps/Dynamo/teams","hooks_url":"https://api.github.com/repos/ramramps/Dynamo/hooks","issue_events_url":"https://api.github.com/repos/ramramps/Dynamo/issues/events{/number}","events_url":"https://api.github.com/repos/ramramps/Dynamo/events","assignees_url":"https://api.github.com/repos/ramramps/Dynamo/assignees{/user}","branches_url":"https://api.github.com/repos/ramramps/Dynamo/branches{/branch}","tags_url":"https://api.github.com/repos/ramramps/Dynamo/tags","blobs_url":"https://api.github.com/repos/ramramps/Dynamo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ramramps/Dynamo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ramramps/Dynamo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ramramps/Dynamo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ramramps/Dynamo/statuses/{sha}","languages_url":"https://api.github.com/repos/ramramps/Dynamo/languages","stargazers_url":"https://api.github.com/repos/ramramps/Dynamo/stargazers","contributors_url":"https://api.github.com/repos/ramramps/Dynamo/contributors","subscribers_url":"https://api.github.com/repos/ramramps/Dynamo/subscribers","subscription_url":"https://api.github.com/repos/ramramps/Dynamo/subscription","commits_url":"https://api.github.com/repos/ramramps/Dynamo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ramramps/Dynamo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ramramps/Dynamo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ramramps/Dynamo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ramramps/Dynamo/contents/{+path}","compare_url":"https://api.github.com/repos/ramramps/Dynamo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ramramps/Dynamo/merges","archive_url":"https://api.github.com/repos/ramramps/Dynamo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ramramps/Dynamo/downloads","issues_url":"https://api.github.com/repos/ramramps/Dynamo/issues{/number}","pulls_url":"https://api.github.com/repos/ramramps/Dynamo/pulls{/number}","milestones_url":"https://api.github.com/repos/ramramps/Dynamo/milestones{/number}","notifications_url":"https://api.github.com/repos/ramramps/Dynamo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ramramps/Dynamo/labels{/name}","releases_url":"https://api.github.com/repos/ramramps/Dynamo/releases{/id}","created_at":"2014-10-22T18:42:06Z","updated_at":"2015-05-08T13:42:18Z","pushed_at":"2015-11-13T17:24:13Z","git_url":"git://github.com/ramramps/Dynamo.git","ssh_url":"git@github.com:ramramps/Dynamo.git","clone_url":"https://github.com/ramramps/Dynamo.git","svn_url":"https://github.com/ramramps/Dynamo","homepage":"http://dynamobim.org","size":837306,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DynamoDS:master","ref":"master","sha":"c554f4f0bfda3350da6ed8523fbace3e4d9fad82","user":{"login":"DynamoDS","id":6528209,"avatar_url":"https://avatars.githubusercontent.com/u/6528209?v=3","gravatar_id":"","url":"https://api.github.com/users/DynamoDS","html_url":"https://github.com/DynamoDS","followers_url":"https://api.github.com/users/DynamoDS/followers","following_url":"https://api.github.com/users/DynamoDS/following{/other_user}","gists_url":"https://api.github.com/users/DynamoDS/gists{/gist_id}","starred_url":"https://api.github.com/users/DynamoDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynamoDS/subscriptions","organizations_url":"https://api.github.com/users/DynamoDS/orgs","repos_url":"https://api.github.com/users/DynamoDS/repos","events_url":"https://api.github.com/users/DynamoDS/events{/privacy}","received_events_url":"https://api.github.com/users/DynamoDS/received_events","type":"Organization","site_admin":false},"repo":{"id":3395179,"name":"Dynamo","full_name":"DynamoDS/Dynamo","owner":{"login":"DynamoDS","id":6528209,"avatar_url":"https://avatars.githubusercontent.com/u/6528209?v=3","gravatar_id":"","url":"https://api.github.com/users/DynamoDS","html_url":"https://github.com/DynamoDS","followers_url":"https://api.github.com/users/DynamoDS/followers","following_url":"https://api.github.com/users/DynamoDS/following{/other_user}","gists_url":"https://api.github.com/users/DynamoDS/gists{/gist_id}","starred_url":"https://api.github.com/users/DynamoDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynamoDS/subscriptions","organizations_url":"https://api.github.com/users/DynamoDS/orgs","repos_url":"https://api.github.com/users/DynamoDS/repos","events_url":"https://api.github.com/users/DynamoDS/events{/privacy}","received_events_url":"https://api.github.com/users/DynamoDS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DynamoDS/Dynamo","description":"Visual Programming","fork":false,"url":"https://api.github.com/repos/DynamoDS/Dynamo","forks_url":"https://api.github.com/repos/DynamoDS/Dynamo/forks","keys_url":"https://api.github.com/repos/DynamoDS/Dynamo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DynamoDS/Dynamo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DynamoDS/Dynamo/teams","hooks_url":"https://api.github.com/repos/DynamoDS/Dynamo/hooks","issue_events_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/events{/number}","events_url":"https://api.github.com/repos/DynamoDS/Dynamo/events","assignees_url":"https://api.github.com/repos/DynamoDS/Dynamo/assignees{/user}","branches_url":"https://api.github.com/repos/DynamoDS/Dynamo/branches{/branch}","tags_url":"https://api.github.com/repos/DynamoDS/Dynamo/tags","blobs_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/refs{/sha}","trees_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DynamoDS/Dynamo/statuses/{sha}","languages_url":"https://api.github.com/repos/DynamoDS/Dynamo/languages","stargazers_url":"https://api.github.com/repos/DynamoDS/Dynamo/stargazers","contributors_url":"https://api.github.com/repos/DynamoDS/Dynamo/contributors","subscribers_url":"https://api.github.com/repos/DynamoDS/Dynamo/subscribers","subscription_url":"https://api.github.com/repos/DynamoDS/Dynamo/subscription","commits_url":"https://api.github.com/repos/DynamoDS/Dynamo/commits{/sha}","git_commits_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/commits{/sha}","comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/comments{/number}","issue_comment_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/comments{/number}","contents_url":"https://api.github.com/repos/DynamoDS/Dynamo/contents/{+path}","compare_url":"https://api.github.com/repos/DynamoDS/Dynamo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DynamoDS/Dynamo/merges","archive_url":"https://api.github.com/repos/DynamoDS/Dynamo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DynamoDS/Dynamo/downloads","issues_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues{/number}","pulls_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls{/number}","milestones_url":"https://api.github.com/repos/DynamoDS/Dynamo/milestones{/number}","notifications_url":"https://api.github.com/repos/DynamoDS/Dynamo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DynamoDS/Dynamo/labels{/name}","releases_url":"https://api.github.com/repos/DynamoDS/Dynamo/releases{/id}","created_at":"2012-02-09T07:35:33Z","updated_at":"2015-11-11T13:42:09Z","pushed_at":"2015-11-13T14:42:02Z","git_url":"git://github.com/DynamoDS/Dynamo.git","ssh_url":"git@github.com:DynamoDS/Dynamo.git","clone_url":"https://github.com/DynamoDS/Dynamo.git","svn_url":"https://github.com/DynamoDS/Dynamo","homepage":"http://dynamobim.org","size":1060433,"stargazers_count":290,"watchers_count":290,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":209,"mirror_url":null,"open_issues_count":806,"forks":209,"open_issues":806,"watchers":290,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/5669"},"html":{"href":"https://github.com/DynamoDS/Dynamo/pull/5669"},"issue":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5669"},"comments":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5669/comments"},"review_comments":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/5669/comments"},"review_comment":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/5669/commits"},"statuses":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/statuses/3a49920883144a89d4d60e9779ef1b67dc8bb87f"}}}}