package lambdapi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=9b13c3121ef87cf4d3311a8a1db43db4be7f0e5e2a702fdaff04a3b3c432cb31
sha512=81e0760ca77cb862a5bdb8927aa37faf7141c4e2484a8163dad0a3eaa21cc691acb5f72279c78588c085f53dde4bd35186346378feac0ab55ac06a679cf2e60f
doc/lambdapi.tool/Tool/Tree_graphviz/index.html
Module Tool.Tree_graphviz
Source
Representation of trees as graphviz files.
Graphviz is a graph visualization software. This module handles the conversion from Core.Term.dtree
data structures in the dot
language that can be interpreted by graphviz.
See the chapter doc/options.md#printing-decision-trees
of the documentation for more information.
type dot_term =
| DotDefa
| DotAbst of int
| DotProd of int
| DotCons of Core.Tree_type.TC.t
| DotSuccess
| DotFailure
Printing hint for conversion to graphviz.
to_dot ppf sym
prints a dot graphviz representation of the tree of symbol sym
on ppf
. Each node of the tree embodies a pattern matrix. The label of a node is the column index in the matrix on which the matching is performed to give birth to the child node. The label on the edge between a node and one of its children represents the term matched to generate the next pattern matrix (the one of the child node).