viz(3)

viz(3) Library Functions Manual viz(3)

NAME

viz - Visualization and debugging routines

SYNOPSIS

Functions


sexp_errcode_t sexp_to_dotfile (const sexp_t *sx, const char *fname)

Detailed Description

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.

Author

Generated automatically by Doxygen for Small, Fast S-Expression Library from the source code.

Thu Sep 23 2021 Small, Fast S-Expression Library