Modify ↓
Opened 17 years ago
Closed 17 years ago
#2333 closed enhancement (fixed)
href between depgraph and tickets
Reported by: | Keith Davies | Owned by: | Noah Kantrowitz |
---|---|---|---|
Priority: | normal | Component: | MasterTicketsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 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?
Attachments (0)
Change History (4)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
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 17 years ago by
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)
- see http://projects.kjdavies.org/ksrd/depgraph/10 for an example (as long as I don't break it working on something else *g*)
comment:4 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added in [2960]. Thanks again.
Note: See
TracTickets for help on using
tickets.
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.