Opened 10 years ago

Closed 10 years ago

# href between depgraph and tickets

Reported by: Owned by: Keith Davies Noah Kantrowitz normal MasterTicketsPlugin normal 0.11

### Description

The depgraph would be more useful if it were an imagemap. I know HREFs can be attached to nodes in DOT, can the imagemap be made part of the presented depgraph?

### comment:1 Changed 10 years ago by Noah Kantrowitz

Its on my list, actually I would like to find a way to optionally output it to SVG or <canvas>. All just a matter of tuits.

### comment:2 Changed 10 years ago by Keith Davies

I'd be willing to take a run at it tonight, if that's okay. I think I want to ease into plugin development, and a (presumably relatively simple) change like this could be a good place to start. I could also look into the other ticket (#2332) while I'm there.

### comment:3 Changed 10 years ago by Keith Davies

I have a fix for this in my local code.

• generate deterministic graph (see #2336) and use to produce both PNG and cmapx; PNG gets loaded via <img>, cmapx gets embedded in page body.
• edge case where a ticket dependency is identified between generation of the two parts (I haven't seen yet how to get both generated using the same constructed graph because two calls are made; if I could embed the PNG directly in the body we'd be set. Could instead use SVG, I guess, but that'd break some browsers)

### comment:4 Changed 10 years ago by Noah Kantrowitz

Resolution: → fixed new → closed