This is the s-dot2 Reference Manual, version 1.3.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:38:09 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
s-dot2
Render Graphviz graphs from within Lisp
Martin Loetzsch, cage
BSD-style
See http://martin-loetzsch.de/S-DOT/
1.3.0
uiop
(system).
s-dot2.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
s-dot2/s-dot2.lisp
s-dot2
(system).
*dot-exe*
(special variable).
check-syntax
(function).
render-s-dot
(function).
render-s-dot-sbcl
(function).
s-dot->dot
(function).
*dot-output-format-switch*
(special variable).
escape-record-label
(function).
s-dot-syntax
(special variable).
test-s-dot
(function).
Packages are listed by definition order.
s-dot
See http://martin-loetzsch.de/S-DOT
common-lisp
.
uiop/driver
.
*dot-exe*
(special variable).
check-syntax
(function).
render-s-dot
(function).
render-s-dot-sbcl
(function).
s-dot->dot
(function).
*dot-output-format-switch*
(special variable).
escape-record-label
(function).
s-dot-syntax
(special variable).
test-s-dot
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
the path (or name) name of the dot executable
Checks whether the s-expression ’graph’ is syntactically correct. Note that it does not check whether the attributes contain useful values.
Renders a s-dot graph into a graphic file. ’file-name’ should be a pathname.
If the file-name is /foo/bar.png, the dot file /foo/bar.dot is created
and then rendered. Format should be one out of
http://www.graphviz.org/doc/info/output.html, for example svg, ps,
gif, png, or jpg. The uiop:run-program is used to launch dot. If that
does not work for you, write a similar function that uses (s-dot->dot)
for dot generation and then runs dot on it.
SBCL users may take advantage of sb-ext:run-program, opening a pipe to ’dot’ instead of writing a file and reading that in again.
Generates dot syntax from a s-dot expression and writes the result to ’stream’.
This code looks indeed ugly. If you really want to understand what’s going on, then it might
be easier to look in the the XSLT stylesheet at
http://www.martin-loetzsch.de/DOTML/dotml-1.3/dotml2dot.xsl . This code does exactly the same.
the command line option for dot needed to specify the output format
Jump to: | C E F R S T |
---|
Jump to: | C E F R S T |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | F P S |
---|
Jump to: | F P S |
---|