Closed DannyBen closed 7 years ago
I don't think you're missing anything... :)
Graphing bits are not a well exercised path and could definitely be improved: we can extend the api with options, expose more options, etc. Would you be up for driving this?
I see.
I don't know if driving is the word I would use, but I can tell you that I definitely intend to make it work, I am just not sure my solution will be on par with your vision / expectations.
I am not familiar with the graphr gem, but my plan is this:
build_tree
private method) so that anyone can get the nodes and push them to whatever graphing solution they want (e.g. dot).If the above resonates, then I can promise to try to make my code presentable - otherwise, I will just patch it for my personal use.
Makes sense?
sounds great!
Fixed by #30
Not sure if this nice gem is still maintained or not, I hope it is.
I am facing difficulties visualizing the tree. Using the
dec_tree.graph
method, I am getting an unreadable graph for any tree that is larger than the small examples.Here is a small part of the image I get:
build_tree
is private, and I am not yet sure how to get the nodes and their connections on my own.Am I missing something?
Thanks.