cloudy-sfu / Dippy-visualization

Visualization module of coinor.dippy package

Home Page:https://cloudy-sfu.github.io/Dippy-visualization/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dippy Visualization

Usage

Denote Python virtual environment is at $venv.

  1. Run pip install -r requirements.txt.

  2. Replace $venv/Lib/site-packages/coinor/dippy/dippy.py with dippy.py in this repository.

  3. When initializing a DipProblem instance, please pass the argumentdisplay_mode='node-web'. By default, it generates GraphViz code at the same file path as Python main script, but with the extension name .json. To customize, please pass the file path to keyword json_path (optional parameter).

  4. Visit https://cloudy-sfu.github.io/Dippy-visualization in browser, and click file upload button to load the JSON file, which is exported in step 3.

If coming across the error like the following, please install VC++ runtime and reboot the computer.

ImportError: DLL load failed: the specified module could not be found.

About

Visualization module of coinor.dippy package

https://cloudy-sfu.github.io/Dippy-visualization/

License:GNU General Public License v3.0


Languages

Language:Python 81.4%Language:HTML 13.1%Language:JavaScript 5.5%