💾 Archived View for jb55.com › ward.asia.wiki.org › graphviz-in-el-dorado captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-04)
-=-=-=-=-=-=-
I've had trouble combining clickable graphviz in complex applications. I've made it work in El Dorado which is a Sinatra app available as open source. github
Results from a neo4j query are used to expand a dot template. This is piped through the dot-to-svg app server-side and then tweaked a bit back in ruby. github
A companion anchor tag is inserted into the html page for mysterious reasons. Then the processed svg text is emitted as a dataurl of an embed element. github
These obscure ruby and haml idioms have become key technology in my work at New Relic. See El Dorado UI