Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RLgraph metagraph plotting utility

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.

Installation

Install from PyPI (yet to come):

sudo python3 -m pip install rlgraph-plot

Install from git:

git clone https://github.com/rlgraph/rlgraph-plot
cd rlgraph-plot
sudo python3 -m pip install -e .

Usage

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 web

This 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 --listen

This 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.

About

rlgraph metagraph plotting utility

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages