dali icon indicating copy to clipboard operation
dali copied to clipboard

Clojurescript support

Open kennyjwilli opened this issue 8 years ago • 3 comments

This library would be the perfect fit for Clojurescript. My use case is creating complex tree graphs.

kennyjwilli avatar Jun 03 '16 19:06 kennyjwilli

Most definitely, I'm actually planning to do this, but because ClojureScript support ideally also means interactivity, I would like it to support React out of the box, so I need to plan this properly. Having interactive visualisations means that it's no longer a simple matter of translating the syntax and measuring/laying out the elements.

Btw, if you've already created any tree graphs with the Clojure version, would you be able to donate an example? I could add it to the documentation (with credit!)

stathissideris avatar Jun 05 '16 10:06 stathissideris

I have not used it in Clojure. We had to write a custom solution for creating tree graphs in Clojurescript. It looks like dali would make creating these sorts of graphs a lot easier.

BTW, I suggest you look into Rum for adding Clojurescript support as it allows the developer to control how they want to manage state.

kennyjwilli avatar Jun 06 '16 20:06 kennyjwilli

Lot of time has passed since this issue was opened, hopefully someone is still around to provide some overview. Is the work that @stathissideris has done on cljs branch still relevant? What issues prevent dali from being used in Clojurescript?

I'm interested to use dali as hiccup -> SVG transformer, and layout features look very useful. I'm not that interested in interactivity and out-of-box support for React framework as there are too many different ones.

jmiskovic avatar Jan 21 '20 09:01 jmiskovic