Tool support for rendering previews of grafter.tabular graph-fn templates with values from datasets.
(->UnreadableForm form-string form-class)
Positional factory function for class grafter.rdf.preview.UnreadableForm.
Factory function for class grafter.rdf.preview.UnreadableForm, taking a map of keywords to field values.
(preview-graph dataset graphf row)
(preview-graph dataset graphf row render-constants?)
Takes a dataset a function built via grafter.tabular/graph-fn and a row number, and returns an EDN datastructure representing the template (body) of the graph-fn function with column variables substituted for data.
Takes an optional final argument which can be :render-constants, if the user would also like to substitute symbols from within the graph-fn body with renderable constants found in referenced vars.
Converts object into a printable form by returning an UnreadableForm representation of it (or its constituent parts if it can’t be serialized.)
FIXME: write docs