Cantido/liberator

Make an image of our own flowchart

Cantido opened this issue · 0 comments

I'm linking to the Clojure Liberator's flowchart. It would be great if we can generate a flowchart of our own from the decisions matrix in the code. If you know of a way to generate a flowchart with Elixir, let me know, and I'll code it in.

I know of a good library in Clojure, so I might extract the decision trees into EDN, parse them from the main project, but write a little Clojure utility to generate the chart. Please stop me from doing this.

Some context: The decision tree lives in Liberator.Evaluator, along with the handler and action maps. If there's a way to generate a flowchart from a map like this, I can do the work to extract that tree in a way that will make the image generation easy. Until then, there isn't really a need to extract the decision tree so I want to leave it where it is.