Question: the best way to use oz for building interactive tree graphs #171
-
Hi @metasoarous, thanks a lot for this wonderful project and the effort! 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: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hi @spacegangster; Thanks for asking. I saw and answered this question on the Clojurians slack, but for posterity, the new Drawing an overlay with inputs is probably a bit more work, but should totally be doable, and would be really cool to see in action! Please let us know how that goes for you. Thanks again. PS I moved your issue over to a discussion item, since this isn't an explicit technical issue, and I'd like to be able to keep this discussion open so that you and others can continue to chime in and discuss this use case. Please feel free to use this space in the future for similar use-case discussions; We can always convert back the other way towards a proper issue if a well-defined technical issue emerges. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Yeah, using |
Beta Was this translation helpful? Give feedback.
Hi @spacegangster; Thanks for asking.
I saw and answered this question on the Clojurians slack, but for posterity, the new
:view-callback
option to theoz/vega
andoz/vega-lite
reagent components (see #167 ) should allow you to use the vegaview
api to accomplish this. You can specifically look at thedata
,addDataListener
,change
,insert
andremove
methods to access/modify data.Drawing an overlay with inputs is probably a bit more work, but should totally be doable, and would be really cool to see in action! Please let us know how that goes for you.
Thanks again.
PS I moved your issue over to a discussion item, since this isn't an explicit technical issue, and I'd like to be able to kee…