I work with several tree search strategies in Haskell. I want to visualize them, as well as animate the search that I do in it. The best I have found so far is graphviz images, which I could generate by writing DOT files (for example, in Land of Lisp), but I doubt that this is the best approach. My trees can become quite large, so I donβt want to enter the position of each node in my program, I want them to be placed correctly.
I also looked at Gephi a bit , but I'm not sure if I can enter my data into it.
Also my data type Tree is very simple data Tree a = Leaf a | Branch (Tree a) (Tree a).
In short, I'm looking for a way to get the visualization and animation of a tree in a search strategy. I do not necessarily look for a Haskell solution, but it can be great. Also, the ability to output images / animations in a standard format, such as gif, will be a big plus.
source
share