Hi, I've gotten your filter to work - thanks!

My goal is to have clickable nodes. They only way that seems to work is if I use SVG as the format. However, when I do that, the graph is rendered inside of an iframe and when you click a node, the new page is loaded in the iframe as well.

Any help would be appreciated!

Comments

mtndan’s picture

It appears this is only a firefox issue.

Is there any other output format (like the image map) I can use that supports clickable regions?

infojunkie’s picture

Assigned: Unassigned » infojunkie

You can add the attribute @map = TRUE to a normal PNG or JPG as described in the USAGE section of the module page. Did you try that?

mtndan’s picture

I did try... no luck. It appears there is something mismatched with the generated html. Take a look (note especially the "usemap" attribute in the img tag not matching the "id" attribute of the map tag):

<div class="content"><div class="graphviz-image">
  <img src="http://fepcorp/File/graphviz/806ba56b64afc309c5c3fee0ef68a34a_0.jpg" title="Business Solutions Administration" alt="graphviz_filter rendering" usemap="#G" />
    <map id="org_chart" name="org_chart">
        <area shape="rect" href="http://fepcorp/user/381" title="Quarterman, Robert" alt="" coords="189,6,357,54"/>
        <area shape="rect" href="http://fepcorp/user/124" title="Parlett, Henry" alt="" coords="212,102,335,150"/>
        <area shape="rect" href="http://fepcorp/user/124" title="Katz, Dan" alt="" coords="5,198,101,246"/>
        <area shape="rect" href="http://fepcorp/user/124" title="Waring, David" alt="" coords="125,198,256,246"/>
        <area shape="rect" href="http://fepcorp/user/124" title="Fonville, Deborah" alt="" coords="280,198,432,246"/>
        <area shape="rect" href="http://fepcorp/user/124" title="Valdellon, Aldrin" alt="" coords="456,198,605,246"/>
    </map>
</div>
infojunkie’s picture

Category: support » bug

That's a bug. I'll work on it. Thanks!

mtndan’s picture

Great - thanks again

infojunkie’s picture

Status: Active » Fixed

Fixed in -dev. Please check and let me know.

mtndan’s picture

It works! Nice job.

Thanks again.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.