-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
would be nice to have imagemap support in images, like similiar trac plugin has:
http://trac-hacks.org/wiki/GraphvizPlugin
#!graphviz
digraph G {
rankdir = "LR"
GraphvizPlugin [ URL=GraphvizPlugin ]
Trac [
URL="http://trac.edgewall.org/"
fontcolor=red
]
GraphvizPlugin -> Trac
}
idea is simple: you run graphviz with -Tcmap and include that in output
see the logic somewhere here:
http://trac-hacks.org/browser/graphvizplugin/0.11/graphviz/graphviz.py?rev=5995#L321
$ cat *.map
<area shape="rect" href="GraphvizPlugin" title="GraphvizPlugin" alt="" coords="7,6,159,54">
<area shape="rect" href="http://trac.edgewall.org/" title="Trac" alt="" coords="208,6,280,54">
and output html:
<map name="G3acf9129314733d74676902e3ed6c4ceec1d2c92" id="G3acf9129314733d74676902e3ed6c4ceec1d2c92">
<area shape="rect" href="GraphvizPlugin" title="GraphvizPlugin" alt="" coords="7,6,159,54">
<area shape="rect" href="http://trac.edgewall.org/" title="Trac" alt="" coords="208,6,280,54"></map>
<img src="3acf9129314733d74676902e3ed6c4ceec1d2c92.dot.png" alt="GraphViz image" usemap="#G3acf9129314733d74676902e3ed6c4ceec1d2c92"/>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels