kisielk / godepgraph

A Go dependency graph visualization tool
MIT License
1.06k stars 90 forks source link

Added link support for github imports #20

Closed nanjj closed 6 years ago

nanjj commented 7 years ago

So that for svg output the link will be generated, for we can generate map file:

dot -Tcmapx -o file.cmapx file.dot

Using svg file in html:

<object type="image/svg+xml" data="file.svg"/>

Using png file in html:

<img src="file.png" usemap="#godep"/>
<map id="godep" name="godep">
<area shape="poly" id="node1"...
kisielk commented 7 years ago

Good idea. Can you update the tests as well?

nanjj commented 7 years ago

@kisielk Added unit tests.