reveal

Docs: https://vlaaad.github.io/reveal/ Source: https://github.com/vlaaad/reveal
cjmurphy 2021-01-11T05:34:41.062Z

I've written a Reveal plugin that lays out graphs (the kind of graph that's made up of vertices and directed edges): https://github.com/chrismurrph/show-graph

👍 3
❤️ 4
vlaaad 2021-01-11T20:43:45.072100Z

Found a time to give it a try, neat! I had a problem with using it as a git dep: some code refers to au.com.seasoft.general.dev which is not present in the default paths, so to require it correctly I had to create an empty ns with this name.

vlaaad 2021-01-11T20:44:06.072300Z

Do you have plans to publish it on Clojars?

cjmurphy 2021-01-11T23:48:12.072500Z

Thanks @vlaaad. That library is on Clojars, but it is my mistake if any library user needs to require it.

cjmurphy/dev-lib           {:mvn/version "0.5.0"}
When I fix the 2 issues it might become a bit more usable. User should be able to click rather than having to tab through all the nodes. And for the other one the error message from Reveal is not informative so I'll debug that from within the Reveal source - will be getting onto that today.

cjmurphy 2021-01-12T00:57:35.072800Z

Also mistake in my README document. Should be require <http://au.com|au.com>.seasoft.graph.reveal.view not <http://au.com|au.com>.seasoft.reveal.view.

2021-01-15T06:39:56.000500Z

Nice one

2021-01-11T14:10:15.067400Z

Nice one, @cjmurphy!

cjmurphy 2021-01-11T14:28:13.068800Z

Thanks @affan.salman. I appreciate it. I was lucky enough to find an algorithm HyperassociativeMap that does the actual laying out. I just had to make it callable at runtime.

2021-01-11T14:41:52.071700Z

Ah, that’s a useful find @cjmurphy. I appreciate both this pointer and the useful documentation in your repos (I’ve taken a quick look at ham_layout and show-graph).

cjmurphy 2021-01-11T14:56:44.071900Z

I communicated a bit with the author of the HAM algorithm, Jeffrey Freeman. He recommended the license be changed to a more permissive one. Funny how the algorithm was buried in with so much other code. Now with ham_layout it is a bit more accessible, and of course runtime-friendly.