metasoarous / oz

Data visualizations in Clojure and ClojureScript using Vega and Vega-lite
Eclipse Public License 1.0
829 stars 74 forks source link

Question: the best way to use oz for building interactive tree graphs #169

Closed spacegangster closed 3 years ago

spacegangster commented 3 years ago

Hi @metasoarous, thanks a lot for this wonderful project and the effort! Is it possible to draw a tree graph, get its nodes coordinates and then draw an overlay layer with inputs on top of it?

I'm able to this with d3 itself with a bit of monkey-patching, so the question is if it's any better with oz?

For details: d3.layout.tree(root).nodes() in the end has the x, y coordinates of the nodes.