CrossClj

1.4.9 docs

SourceDocs



RECENT
    VARS
    enlive-tree-viz
    fake-root
    hiccup-tree-viz
    rhizome-newline
    span
    tree-type
    tree-viz

    « Index of all namespaces of this project

    Private
    (enlive-tree-viz mytree options)
    visualize enlive trees
    
    (fake-root children)
    Create a root for a rootless tree
    
    Private
    (hiccup-tree-viz mytree options)
    visualize instaparse hiccup output as a rhizome graph. Requires rhizome: https://github.com/ztellman/rhizome
    
    (span tree)
    Takes a subtree of the parse tree and returns a [start-index end-index] pair
    indicating the span of text parsed by this subtree.
    start-index is inclusive and end-index is exclusive, as is customary
    with substrings.
    Returns nil if no span metadata is attached.
    (tree-type tree)
    (tree-viz tree & {output-file :output-file, options :options})
    Creates a graphviz visualization of the parse tree.
       Optional keyword arguments:
       :output-file output-file (will save the tree image to output-file)
       :options options (options passed along to rhizome)
    
    Important: This function will only work if you have added rhizome
    to your dependencies, and installed graphviz on your system.  
    See https://github.com/ztellman/rhizome for more information.