💾 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

View Raw

More Information

⬅️ Previous capture (2021-12-04)

-=-=-=-=-=-=-

Graphviz in El Dorado

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

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

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

github

These obscure ruby and haml idioms have become key technology in my work at New Relic. See El Dorado UI

El Dorado UI