{"action":"created","comment":{"url":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/comments/65170293","id":65170293,"diff_hunk":"@@ -92,19 +102,23 @@ static public void NextStep()\n                 CanBack(true);\n             else\n                 CanBack(false);\n+            if (i != edges.Count - 1)\n+                CanFuther(true);\n+            else\n+                CanFuther(false);\n         }\n \n         static public void PreviousStep()\n         {\n-            var edge = _graphArea.EdgesList.First(x => (x.Key.Source == edges[i].edge.Source) && (x.Key.Target == edges[i].edge.Target));\n+            var edge = _graphArea.EdgesList.First(x => (x.Key.Source.Text == edges[i].edge.Source.Text) && (x.Key.Target.Text == edges[i].edge.Target.Text));\n             if (edges[i].isConteins)\n             {\n                 var vertex1 = _graphArea.VertexList.First(x => x.Key == edge.Key.Source);\n                 var vertex2 = _graphArea.VertexList.First(x => x.Key == edge.Key.Target);\n-                var edge1 = edges.ToList().FirstOrDefault(x => x.edge.Source == vertex1.Key && x.isConteins && x.number < i)?.edge;\n-                var edge2 = edges.ToList().FirstOrDefault(x => x.edge.Target == vertex1.Key && x.isConteins && x.number < i)?.edge;\n-                var edge3 = edges.ToList().FirstOrDefault(x => x.edge.Source == vertex2.Key && x.isConteins && x.number < i)?.edge;\n-                var edge4 = edges.ToList().FirstOrDefault(x => x.edge.Target == vertex2.Key && x.isConteins && x.number < i)?.edge;\n+                var edge1 = edges.ToList().FirstOrDefault(x => x.edge.Source.Text == vertex1.Key.Text && x.isConteins && x.number < i)?.edge;","path":"src/GraphTask.HelperForKruskalAndPrimVisualisation/HelperForKruskalAndPrimVisualisation.cs","position":67,"original_position":67,"commit_id":"3e2a1e50b1d7d19b191d8b338b005cb38b3e72c9","original_commit_id":"3e2a1e50b1d7d19b191d8b338b005cb38b3e72c9","user":{"login":"gsvgit","id":106816,"avatar_url":"https://avatars.githubusercontent.com/u/106816?v=3","gravatar_id":"","url":"https://api.github.com/users/gsvgit","html_url":"https://github.com/gsvgit","followers_url":"https://api.github.com/users/gsvgit/followers","following_url":"https://api.github.com/users/gsvgit/following{/other_user}","gists_url":"https://api.github.com/users/gsvgit/gists{/gist_id}","starred_url":"https://api.github.com/users/gsvgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsvgit/subscriptions","organizations_url":"https://api.github.com/users/gsvgit/orgs","repos_url":"https://api.github.com/users/gsvgit/repos","events_url":"https://api.github.com/users/gsvgit/events{/privacy}","received_events_url":"https://api.github.com/users/gsvgit/received_events","type":"User","site_admin":false},"body":"Это сравнение по текстовому имени что ли?","created_at":"2016-05-31T12:17:52Z","updated_at":"2016-05-31T12:17:52Z","html_url":"https://github.com/YaccConstructor/QuickGraph/pull/112#discussion_r65170293","pull_request_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/comments/65170293"},"html":{"href":"https://github.com/YaccConstructor/QuickGraph/pull/112#discussion_r65170293"},"pull_request":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/112","id":71936693,"html_url":"https://github.com/YaccConstructor/QuickGraph/pull/112","diff_url":"https://github.com/YaccConstructor/QuickGraph/pull/112.diff","patch_url":"https://github.com/YaccConstructor/QuickGraph/pull/112.patch","issue_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/issues/112","number":112,"state":"open","locked":false,"title":"Fix Prim algo and visualisation work now","user":{"login":"nbIxMaN","id":5366304,"avatar_url":"https://avatars.githubusercontent.com/u/5366304?v=3","gravatar_id":"","url":"https://api.github.com/users/nbIxMaN","html_url":"https://github.com/nbIxMaN","followers_url":"https://api.github.com/users/nbIxMaN/followers","following_url":"https://api.github.com/users/nbIxMaN/following{/other_user}","gists_url":"https://api.github.com/users/nbIxMaN/gists{/gist_id}","starred_url":"https://api.github.com/users/nbIxMaN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbIxMaN/subscriptions","organizations_url":"https://api.github.com/users/nbIxMaN/orgs","repos_url":"https://api.github.com/users/nbIxMaN/repos","events_url":"https://api.github.com/users/nbIxMaN/events{/privacy}","received_events_url":"https://api.github.com/users/nbIxMaN/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-30T20:45:23Z","updated_at":"2016-05-31T12:17:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a94a9db2692489dd77f77b262103c30523a0f220","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/112/commits","review_comments_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/112/comments","review_comment_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/issues/112/comments","statuses_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/statuses/3e2a1e50b1d7d19b191d8b338b005cb38b3e72c9","head":{"label":"nbIxMaN:GraphTasks","ref":"GraphTasks","sha":"3e2a1e50b1d7d19b191d8b338b005cb38b3e72c9","user":{"login":"nbIxMaN","id":5366304,"avatar_url":"https://avatars.githubusercontent.com/u/5366304?v=3","gravatar_id":"","url":"https://api.github.com/users/nbIxMaN","html_url":"https://github.com/nbIxMaN","followers_url":"https://api.github.com/users/nbIxMaN/followers","following_url":"https://api.github.com/users/nbIxMaN/following{/other_user}","gists_url":"https://api.github.com/users/nbIxMaN/gists{/gist_id}","starred_url":"https://api.github.com/users/nbIxMaN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbIxMaN/subscriptions","organizations_url":"https://api.github.com/users/nbIxMaN/orgs","repos_url":"https://api.github.com/users/nbIxMaN/repos","events_url":"https://api.github.com/users/nbIxMaN/events{/privacy}","received_events_url":"https://api.github.com/users/nbIxMaN/received_events","type":"User","site_admin":false},"repo":{"id":60021669,"name":"QuickGraph","full_name":"nbIxMaN/QuickGraph","owner":{"login":"nbIxMaN","id":5366304,"avatar_url":"https://avatars.githubusercontent.com/u/5366304?v=3","gravatar_id":"","url":"https://api.github.com/users/nbIxMaN","html_url":"https://github.com/nbIxMaN","followers_url":"https://api.github.com/users/nbIxMaN/followers","following_url":"https://api.github.com/users/nbIxMaN/following{/other_user}","gists_url":"https://api.github.com/users/nbIxMaN/gists{/gist_id}","starred_url":"https://api.github.com/users/nbIxMaN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbIxMaN/subscriptions","organizations_url":"https://api.github.com/users/nbIxMaN/orgs","repos_url":"https://api.github.com/users/nbIxMaN/repos","events_url":"https://api.github.com/users/nbIxMaN/events{/privacy}","received_events_url":"https://api.github.com/users/nbIxMaN/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nbIxMaN/QuickGraph","description":"Generic Graph Data Structures and Algorithms for .NET","fork":true,"url":"https://api.github.com/repos/nbIxMaN/QuickGraph","forks_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/forks","keys_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/teams","hooks_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/hooks","issue_events_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/issues/events{/number}","events_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/events","assignees_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/assignees{/user}","branches_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/branches{/branch}","tags_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/tags","blobs_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/statuses/{sha}","languages_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/languages","stargazers_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/stargazers","contributors_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/contributors","subscribers_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/subscribers","subscription_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/subscription","commits_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/contents/{+path}","compare_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/merges","archive_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/downloads","issues_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/issues{/number}","pulls_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/pulls{/number}","milestones_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/milestones{/number}","notifications_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/labels{/name}","releases_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/releases{/id}","deployments_url":"https://api.github.com/repos/nbIxMaN/QuickGraph/deployments","created_at":"2016-05-30T15:48:36Z","updated_at":"2016-05-30T15:48:40Z","pushed_at":"2016-05-30T20:44:33Z","git_url":"git://github.com/nbIxMaN/QuickGraph.git","ssh_url":"git@github.com:nbIxMaN/QuickGraph.git","clone_url":"https://github.com/nbIxMaN/QuickGraph.git","svn_url":"https://github.com/nbIxMaN/QuickGraph","homepage":"","size":31979,"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":"YaccConstructor:GraphTasks","ref":"GraphTasks","sha":"ca8931503974a5f96a1c861450d66f1758d1511c","user":{"login":"YaccConstructor","id":6095386,"avatar_url":"https://avatars.githubusercontent.com/u/6095386?v=3","gravatar_id":"","url":"https://api.github.com/users/YaccConstructor","html_url":"https://github.com/YaccConstructor","followers_url":"https://api.github.com/users/YaccConstructor/followers","following_url":"https://api.github.com/users/YaccConstructor/following{/other_user}","gists_url":"https://api.github.com/users/YaccConstructor/gists{/gist_id}","starred_url":"https://api.github.com/users/YaccConstructor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaccConstructor/subscriptions","organizations_url":"https://api.github.com/users/YaccConstructor/orgs","repos_url":"https://api.github.com/users/YaccConstructor/repos","events_url":"https://api.github.com/users/YaccConstructor/events{/privacy}","received_events_url":"https://api.github.com/users/YaccConstructor/received_events","type":"Organization","site_admin":false},"repo":{"id":28090562,"name":"QuickGraph","full_name":"YaccConstructor/QuickGraph","owner":{"login":"YaccConstructor","id":6095386,"avatar_url":"https://avatars.githubusercontent.com/u/6095386?v=3","gravatar_id":"","url":"https://api.github.com/users/YaccConstructor","html_url":"https://github.com/YaccConstructor","followers_url":"https://api.github.com/users/YaccConstructor/followers","following_url":"https://api.github.com/users/YaccConstructor/following{/other_user}","gists_url":"https://api.github.com/users/YaccConstructor/gists{/gist_id}","starred_url":"https://api.github.com/users/YaccConstructor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaccConstructor/subscriptions","organizations_url":"https://api.github.com/users/YaccConstructor/orgs","repos_url":"https://api.github.com/users/YaccConstructor/repos","events_url":"https://api.github.com/users/YaccConstructor/events{/privacy}","received_events_url":"https://api.github.com/users/YaccConstructor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/YaccConstructor/QuickGraph","description":"Generic Graph Data Structures and Algorithms for .NET","fork":false,"url":"https://api.github.com/repos/YaccConstructor/QuickGraph","forks_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/forks","keys_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/teams","hooks_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/hooks","issue_events_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/issues/events{/number}","events_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/events","assignees_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/assignees{/user}","branches_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/branches{/branch}","tags_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/tags","blobs_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/statuses/{sha}","languages_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/languages","stargazers_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/stargazers","contributors_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/contributors","subscribers_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/subscribers","subscription_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/subscription","commits_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/contents/{+path}","compare_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/merges","archive_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/downloads","issues_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/issues{/number}","pulls_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls{/number}","milestones_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/milestones{/number}","notifications_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/labels{/name}","releases_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/releases{/id}","deployments_url":"https://api.github.com/repos/YaccConstructor/QuickGraph/deployments","created_at":"2014-12-16T14:28:24Z","updated_at":"2016-05-30T18:46:19Z","pushed_at":"2016-05-30T20:45:23Z","git_url":"git://github.com/YaccConstructor/QuickGraph.git","ssh_url":"git@github.com:YaccConstructor/QuickGraph.git","clone_url":"https://github.com/YaccConstructor/QuickGraph.git","svn_url":"https://github.com/YaccConstructor/QuickGraph","homepage":"","size":32379,"stargazers_count":25,"watchers_count":25,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":32,"mirror_url":null,"open_issues_count":26,"forks":32,"open_issues":26,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/112"},"html":{"href":"https://github.com/YaccConstructor/QuickGraph/pull/112"},"issue":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/issues/112"},"comments":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/YaccConstructor/QuickGraph/statuses/3e2a1e50b1d7d19b191d8b338b005cb38b3e72c9"}}}}
{"actor":{"display_login":"gsvgit"}}