Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guicho271828/asdf-viz
ASDF system dependency visualizer
https://github.com/guicho271828/asdf-viz
Last synced: 29 days ago
JSON representation
ASDF system dependency visualizer
- Host: GitHub
- URL: https://github.com/guicho271828/asdf-viz
- Owner: guicho271828
- Created: 2015-12-10T10:41:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T20:55:03.000Z (over 4 years ago)
- Last Synced: 2024-10-15T14:11:00.939Z (3 months ago)
- Language: Common Lisp
- Size: 11.9 MB
- Stars: 39
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* ASDF-VIZ
This is a set of command line utilities for visualizing various object hierarchies of a lisp system.
They are roswell-compatible command-line utilities distributed by quicklisp.
Command installation is done by =ros install asdf-viz=.*NEWS Oct 20, 2017* We added another utility =call-graph-viz= which can visualize the call graph of a function.
*NEWS Nov 6, 2017* We added another utility =class-viz= which visualizes the class inheritances.
*NEWS Nov 25, 2017* We have a license flag -l / --licence for =asdf-viz=.
*NEWS Sep 19, 2018* System-provided =asdf:require-system= systems (e.g. =sb-introsoect=) are plotted in a different shape/color. (See weblocks examples)
** asdf-viz -- visualizing the library dependencies of asdf systems.
+ Simple usage: =$ asdf-viz [output.png] [system-name]...=
+ Complex usage: =$ asdf-viz [[-e|--exclude SYSTEM]...] [-l|--license] PNG-PATH [SYSTEM...]=Sample output of =asdf-viz -l asdf-viz.png asdf-viz= :
[[./asdf-viz.png]]
[[./weblocks.png]]
[[./spinneret.png]]
** call-graph-viz -- visualizing the call graph
#+begin_src
Usage: call-graph-viz [options...] png-pathsource options
-s / --system SYSTEM : Quickload the system in the beginning. (specified multiple times, accumulates)
-l / --load FILE : Load the FILE before the visualization.(specified multiple times, accumulates)
-r / --ros FILE : Load a .ros script before the visualization. (specified multiple times, accumulates)
This avoids the problem of shebangs in roswell scripts.filter options
-p / --package PKG : Limit the symbols to the package. (specified multiple times, accumulates)
Package names are automatically upcased.
-f / --function FN : Specify the root nodes.. (specified multiple times, accumulates)
-i / --include-outside-calls : Specifies if the leaf node can contain symbols outside the specified packages.Examples:
call-graph-viz -s alexandria -p alexandria -f alexandria:symbolicate symbolicate.png
call-graph-viz -s alexandria -f alexandria:symbolicate symbolicate.png
-- Visualize the call graph of alexandria:symbolicate .
The second example has the same meaning, where -p option is inferred from the symbol package.call-graph-viz -i -s alexandria -f alexandria:symbolicate symbolicate2.png
-- Visualize the call graph of alexandria:symbolicate . Leaf nodes include symbols outside alexandria.call-graph-viz -s alexandria -p alexandria alexandria.png
-- Visualize the call graph of all external fbound symbols in alexandria
#+end_srcExample outputs:
[[./symbolicate.png]]
[[./symbolicate2.png]]
[[./alexandria.png]]
** class-viz -- visualizing the class hierarchy
#+begin_src
Usage: class-viz [-s|--system system]* [png-path] [class names...]
Example: class-viz asdf.png asdf:component
Example: class-viz -s plump plump.png plump:node
#+end_srcExample outputs:
[[./asdf.png]]
[[./plump.png]]
** Dependencies
[[https://github.com/snmsts/roswell/][roswell]] and graphviz.
** Installation
+ =ros install asdf-viz=
+ set up PATH to include =.roswell/bin/=** Author
+ Masataro Asai ([email protected])
* Copyright
Copyright (c) 2015 Masataro Asai ([email protected])
* License
Licensed under the LLGPL License.