viz(3)
| Visualization and debugging routines(3) | Library Functions Manual | Visualization and debugging routines(3) |
NAME
Visualization and debugging routines -
Functions
sexp_errcode_t sexp_to_dotfile (const sexp_t
*sx, const char *fname)
Function Documentation
sexp_errcode_t sexp_to_dotfile (const sexp_t *sx, const char *fname) Given a s-expression and a filename, this routine creates a DOT-file that can be used to generate a visualization of the s-expression data structure. This is useful for debugging to ensure that the structure is correct and follows what was expected by the programmer. Non-trivial s-expressions can yield very large visualizations though. Sometimes it is more practical to visualize a portion of the structure if one knows where a bug is likely to occur.
Parameters:
sx S-expression data structure to create a DOT
file based on.
fname Filename of the DOT file to emit.
fname Filename of the DOT file to emit.
Author
Generated automatically by Doxygen for Small, Fast S-Expression Library from the source code.
| Thu Nov 21 2013 | Small, Fast S-Expression Library |
