A bodge disguised as a tool that generates call-graphs when let loose on a datapack.
Project description
Datapack Visualizer
This is a very scuffed tool I made mostly for myself. So if you find madman-logic please let me know - I've probably just grown too used to it to notice myself.
Installation
- Python 3.9.5 or greater is required.
- Install Graphviz and add it to PATH.
- Install DatapackVisualizer from pypi:
pip install dpvisu
Use
Call dpvisu
and follow the instructions. If everything is set up right, a .svg
file should get generated and displayed.
Alternatively you can provide the full path to any of the following folders as a command-line argument (only 1).
../datapack/
- Generates call graph for all contained datapacks in a single.svg
(Useful in case of multiple inter-connected datapacks)../datapack/<datapack_name>/
- Generates a call graph for the given datapack../datapack/<datapack_name>/data/
- Generates a call graph for the given datapack
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dpvisu-0.7.8.tar.gz
(19.4 kB
view hashes)
Built Distribution
dpvisu-0.7.8-py3-none-any.whl
(23.7 kB
view hashes)