CSRT-NTUA / AlgoPlus

AlgoPlus is a C++17 library for complex data structures and algorithms
https://csrt-ntua.github.io/AlgoPlus
Apache License 2.0
141 stars 20 forks source link

Visualization generator missing from tree.h header #60

Open spirosmaggioros opened 5 days ago

spirosmaggioros commented 5 days ago

the simple tree(tree.h header) was lately added and lacks a visualization generator function. You can take the other tree headers as reference to create the generator function(to generate the string) and then to add a simple visualize() function in the class to perform the visualization using the returning string. The graphviz visualization function is ready at vizualization folder, you only need to implement the string generator.

aveldan commented 4 days ago

I just reviewed the tree_visualization.h wouldn't the visualization gen for tree.h be also same as that of bst? I just made the tree.h one I can put in a pull request if you don't have it already.

spirosmaggioros commented 4 days ago

Yes @aveldan, i mention it on my comment. It's nothing different, of course i can do it myself but i want contributors to do it just to get on groove with the repo and contribute more in the future.