0.0.8 • Published 6 years ago
covi v0.0.8
covi (competitive-visualizer)
A command line tool to visualize test cases in competitive programming.
競技プログラミングのテストケースを可視化するコマンドラインツール。

Installation
- Install Google Chrome
- Install
yarn(ornpm) yarn global add covi(ornpm install --global covi)
We use Carlo to render the GUI and it depends on Google Chrome.
Usage
# print available commands
covi --help
# visualize a directed graph
covi graph --directed < input.txtGraph
Input
N: The number of nodesa_i,b_i: Edgei(froma_itob_i)c_i: Label of edgei
N
a_1 b_1 [c_1]
a_2 b_2 [c_2]
:
a_M b_M [c_M]Development
# install dependencies
$ yarn install
# serve with hot reload
$ yarn start
# build for production
$ yarn run build