[Quickbook] Quickbook, SVG, graphviz dot
This is something of a stretch, but I'm hoping someone has a simple solution to my problem. I'm using Quickbook and in my docs I'm including an SVG that I generated from a graphviz dot file, which was also automatically generated from code that I'm documenting. Inside each of the nodes in the graph contained in the SVG, I would like to have source code snippets that are formatted in a way that is consistent with code snippets that are embedded in Quickbook files. Ideally, I'd like to even include Quickbook links in that source code, though I think that's likely a bit harder (my Quickbook code snippet files are usually written in a way that compiles in C++ but on the Quickbook end also replaces known functions with links to their corresponding docs -- I'd like to have that even in the nodes of the generated graph). I'm not certain where precisely to start as I'm rather far outside of my usual domain here. I pretty sure that it must be feasible in some way, as I know that SVG can embed links and use css, etc. but I'm not sure precisely how I should try to tackle this. Perhaps I can create some kind of post-process to run on the SVG that was generated from the dot file? Is there something simpler than this? Any ideas are appreciated. -- -Matt Calabrese
participants (1)
-
Matt Calabrese