Skip to content

CLI

Commands

1
2
3
4
5
6
7
8
Usage: python -m graphinate [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  save
  server

Save

1
2
3
4
5
6
7
8
9
Usage: python -m graphinate save [OPTIONS]

Options:
  -m, --model MODEL       A GraphModel instance reference {module-
                          name}:{GraphModel-instance-variable-name} For example,
                          given var `model=GraphModel()` defined in app.py file,
                          then the reference should be app:model
  --debug / --no-debug    Enable debug logging.  [env var: GRAPHINATE_DEBUG]
  --help                  Show this message and exit.

Server

Tip

requires the server extra to be installed.

pip install graphinate[server]
Usage: python -m graphinate server [OPTIONS]

Options:
  -m, --model MODEL            A GraphModel instance reference {module-
                               name}:{GraphModel-instance-variable-name} For example,
                               given var `model=GraphModel()` defined in app.py file,
                               then the reference should be app:model
  -p, --port INTEGER           Port number.
  -b, --browse / --no-browse   Open web browser on start.
  --debug / --no-debug         Enable debug logging.  [env var: GRAPHINATE_DEBUG]
  --help                       Show this message and exit.