sgp2dot/README.md

18 lines
800 B
Markdown
Raw Normal View History

2019-02-12 16:55:17 +01:00
# Simgrid platform to dot file converter
2019-02-12 18:30:37 +01:00
**sgp2dot** is a [Simgrid](https://simgrid.org) platform to [Graphiz dot file](http://graphviz.org/) converter implemented in Common Lisp. It requires:
- Common Lisp
- [ASDF](https://common-lisp.net/project/asdf/) (Another System Definition Facility)
- [S-XML](https://common-lisp.net/project/s-xml/) (Simple XML parser)
2019-02-12 16:55:17 +01:00
2019-02-12 18:30:37 +01:00
### How to use it ?
2019-02-12 16:55:17 +01:00
2019-02-12 18:30:37 +01:00
- **First solution:** Compile the project using *asdf* with the following call:
2019-02-12 16:55:17 +01:00
> (asdf:operate :build-op "sgp2dot")
2019-02-12 16:57:53 +01:00
2019-02-12 18:30:37 +01:00
Then, use the dedicated *sgp2dot-cl.lisp* in your CLI. Note that you should
adapt the *sgp2dot-cl.lisp* shebang according to your lisp implementation.
2019-02-12 16:55:17 +01:00
2019-02-12 18:30:37 +01:00
- **Second, and simpler solution:** Load the system using *asdf*, and invoke
`(sgp2dot:convert <platform-file> <output-dot-file>)`.