This utility can be used to plot RLgraph metagraphs.
Work In Progress.
Please note: The plotting utility has not been updated yet to work with RLgraph 0.1.0.
Install from PyPI (yet to come):
sudo python3 -m pip install rlgraph-plotInstall from git:
git clone https://github.com/rlgraph/rlgraph-plot
cd rlgraph-plot
sudo python3 -m pip install -e .rlgraph-plot [--listen] [--token TOKEN] [--file FILE] [--component COMPONENT] [--mode MODE] [--host HOST] [--port PORT]For example:
rlgraph-plot --file dqn_agent.py --component exploration --mode webThis will run a local webserver and open a browser window at http://localhost:8080 (default host and port) and display the RLgraph metagraph.
Other examples:
rlgraph-plot --listenThis allows you to use rlgraph.utils.visualization_util.send_graph_markup() to send the graph markup to the local
webserver and display the current component. Use this for pseudo-interactive development.