{"action":"created","issue":{"url":"https://api.github.com/repos/ellson/graphviz/issues/415","repository_url":"https://api.github.com/repos/ellson/graphviz","labels_url":"https://api.github.com/repos/ellson/graphviz/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/ellson/graphviz/issues/415/comments","events_url":"https://api.github.com/repos/ellson/graphviz/issues/415/events","html_url":"https://github.com/ellson/graphviz/issues/415","id":163737900,"number":415,"title":"[Dot] Suggestion for Edge Generation in SVG","user":{"login":"GadgetSteve","id":5593690,"avatar_url":"https://avatars.githubusercontent.com/u/5593690?v=3","gravatar_id":"","url":"https://api.github.com/users/GadgetSteve","html_url":"https://github.com/GadgetSteve","followers_url":"https://api.github.com/users/GadgetSteve/followers","following_url":"https://api.github.com/users/GadgetSteve/following{/other_user}","gists_url":"https://api.github.com/users/GadgetSteve/gists{/gist_id}","starred_url":"https://api.github.com/users/GadgetSteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GadgetSteve/subscriptions","organizations_url":"https://api.github.com/users/GadgetSteve/orgs","repos_url":"https://api.github.com/users/GadgetSteve/repos","events_url":"https://api.github.com/users/GadgetSteve/events{/privacy}","received_events_url":"https://api.github.com/users/GadgetSteve/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-04T20:08:38Z","updated_at":"2016-07-09T11:40:12Z","closed_at":"2016-07-09T11:40:12Z","body":"Ported Issue from Mantis\nOriginal ID: 793\nReported By: Emanuele Ruffaldi\n\nSEVERITY: FEATURE\nSubmitted: 2005-01-08 08:34:16\n\nOS: *-*-\n\nVERSION: 2.0\n\n\nDESCRIPTION\n-----------\n<br>\r\n\r\nI had the necessity to add interactivity to the SVG graph generated by dot.\r\nIn particular to be able to associate the start and end node to a\r\nspecific edge.\r\n<br>\r\n\r\nIn the current SVG generation nodes are numbered as node# where # is odd and\r\nedge# where # is pair. The problem is that there is no possibility\r\nto retrieve the end and start node from the edge#. This information\r\nis fundamental in an SVG graph where I navigate graphically the edges, and\r\nblink the end node when the navigation is terminated.\r\n<br>\r\n\r\nTo retreive this information I had to patch the generated SVG by using the\r\nnode/edge information from the DOT file. I've chosen the following notation\r\nfor the id=\"edge#\" allowing to preserve the original semantic and\r\nadding the node values:\r\n<br>\r\n\r\nedge#-#FROM#-#NODE#\r\n<br>\r\n\r\nThis solution is really simple to implement, e.g.\r\n<br>\r\n\r\nedge10-15-33\r\n<br>\r\n\r\nis the edge 10, that connects the node 15th with 33rd\r\n<br>\r\n\r\nGreat job with dot!\r\n"},"comment":{"url":"https://api.github.com/repos/ellson/graphviz/issues/comments/231530183","html_url":"https://github.com/ellson/graphviz/issues/415#issuecomment-231530183","issue_url":"https://api.github.com/repos/ellson/graphviz/issues/415","id":231530183,"user":{"login":"GadgetSteve","id":5593690,"avatar_url":"https://avatars.githubusercontent.com/u/5593690?v=3","gravatar_id":"","url":"https://api.github.com/users/GadgetSteve","html_url":"https://github.com/GadgetSteve","followers_url":"https://api.github.com/users/GadgetSteve/followers","following_url":"https://api.github.com/users/GadgetSteve/following{/other_user}","gists_url":"https://api.github.com/users/GadgetSteve/gists{/gist_id}","starred_url":"https://api.github.com/users/GadgetSteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GadgetSteve/subscriptions","organizations_url":"https://api.github.com/users/GadgetSteve/orgs","repos_url":"https://api.github.com/users/GadgetSteve/repos","events_url":"https://api.github.com/users/GadgetSteve/events{/privacy}","received_events_url":"https://api.github.com/users/GadgetSteve/received_events","type":"User","site_admin":false},"created_at":"2016-07-09T11:40:12Z","updated_at":"2016-07-09T11:40:12Z","body":"Addressed in 2.8"}}
{"actor":{"display_login":"GadgetSteve"}}