{"action":"opened","issue":{"url":"https://api.github.com/repos/panthernet/GraphX/issues/28","labels_url":"https://api.github.com/repos/panthernet/GraphX/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/panthernet/GraphX/issues/28/comments","events_url":"https://api.github.com/repos/panthernet/GraphX/issues/28/events","html_url":"https://github.com/panthernet/GraphX/issues/28","id":97886974,"number":28,"title":"A edge with same source and target vertices doesnt show up anything","user":{"login":"nitinpakhide","id":3140457,"avatar_url":"https://avatars.githubusercontent.com/u/3140457?v=3","gravatar_id":"","url":"https://api.github.com/users/nitinpakhide","html_url":"https://github.com/nitinpakhide","followers_url":"https://api.github.com/users/nitinpakhide/followers","following_url":"https://api.github.com/users/nitinpakhide/following{/other_user}","gists_url":"https://api.github.com/users/nitinpakhide/gists{/gist_id}","starred_url":"https://api.github.com/users/nitinpakhide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitinpakhide/subscriptions","organizations_url":"https://api.github.com/users/nitinpakhide/orgs","repos_url":"https://api.github.com/users/nitinpakhide/repos","events_url":"https://api.github.com/users/nitinpakhide/events{/privacy}","received_events_url":"https://api.github.com/users/nitinpakhide/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-29T08:38:50Z","updated_at":"2015-07-29T08:38:50Z","closed_at":null,"body":"List<Vertex> existingVertices = new List<Vertex>();\r\nexistingVertices.Add(new Vertex() { Text = \"A\", ID = 1});\r\nexistingVertices.Add(new Vertex() { Text = \"B\", ID = 2});\r\n\r\nforeach (Vertex vertex in existingVertices)\r\n   graph.AddVertex(vertex);\r\n\r\nstring edgeString = string.Format(\"{0}-{1} Connected\", existingVertices[0].ID, existingVertices[0].ID);\r\ngraph.AddEdge(new Edge(existingVertices[0], existingVertices[0]) { Text = edgeString, ID = 1 });\r\n\r\nThe above code will not show up anything in the graph, Not even the vertices.\r\nBut if I change it like:\r\ngraph.AddEdge(new Edge(existingVertices[0], existingVertices[1]) { Text = edgeString, ID = 1 });\r\nthen it shows up.\r\n\r\nIf I have huge number of vertices and edges, and only one edge is gone wrong, its difficult debugging it.   Atleast some error message should be shown OR such edges should be skipped.\r\n"}}