Skip to content

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

Answered by metasoarous
spacegangster asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @spacegangster; Thanks for asking.

I saw and answered this question on the Clojurians slack, but for posterity, the new :view-callback option to the oz/vega and oz/vega-lite reagent components (see #167 ) should allow you to use the vega view api to accomplish this. You can specifically look at the data, addDataListener, change, insert and remove 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…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
8 replies
@spacegangster
Comment options

@spacegangster
Comment options

@metasoarous
Comment options

@spacegangster
Comment options

@metasoarous
Comment options

Answer selected by spacegangster
Comment options

You must be logged in to vote
2 replies
@spacegangster
Comment options

@metasoarous
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #169 on October 07, 2021 23:17.