File | Date | Author | Commit |
---|---|---|---|
cmake | 2014-12-02 | Stefan Weiser | [6b689d] Removed unnecessary check for compiler version.... |
python | 2014-11-21 | Stefan Weiser | [4a11af] Added initial build system. |
src | 2015-03-05 | Stefan Weiser | [8432a1] Added start and end nodes. |
test | 2015-03-05 | Stefan Weiser | [8432a1] Added start and end nodes. |
.clang-format | 2014-11-21 | Stefan Weiser | [4a11af] Added initial build system. |
.gitignore | 2014-11-21 | Stefan Weiser | [4a11af] Added initial build system. |
CMakeLists.txt | 2014-11-21 | Stefan Weiser | [651587] Refactored license header. |
LICENSE | 2014-11-21 | Stefan Weiser | [958285] Initial commit |
README.md | 2014-11-27 | Stefan Weiser | [abf11c] Fixed doxygen integration manual. |
make | 2015-03-05 | Stefan Weiser | [8432a1] Added start and end nodes. |
version | 2015-03-05 | Stefan Weiser | [578426] Increased version. |
This declarative language is dedicated to all, who want to use petri nets, but
want also an open source and handy tool to visualize the nets. It is a frontend
to the dot language and it can be used as plugin for doxygen.
@startpetri{beer_ordering.png}
(o) = "order beer";
[g] = "give beer";
(coin) --> [g];
(o) --> [g];
[g] --> (beer);
@endpetri
There is a make script in the root directory. To build the application, execute:
$ ./make -r build install
Afterwards an executable is in the install/bin
directory of the project.
To use the program in doxygen, you need to define an alias in the doxyfile:
ALIASES = "startpetri{1}=\image \1\n\if DontIgnorePetriNetCode"
ALIASES += "endpetri=\endif"
Then you should execute petrinet on every relevant file before doxygen by:
petrinet -i file.cpp -o ./path/to/html/output