covi

0.0.8 • Public • Published

covi (competitive-visualizer)

Latest NPM release Install Size License

A command line tool to visualize test cases in competitive programming.

競技プログラミングのテストケースを可視化するコマンドラインツール。

covi

Installation

  1. Install Google Chrome
  2. Install yarn (or npm)
  3. yarn global add covi (or npm 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.txt

Graph

Input

  • N: The number of nodes
  • a_i, b_i: Edge i (from a_i to b_i)
  • c_i: Label of edge i
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

License

License

Readme

Keywords

none

Package Sidebar

Install

npm i covi

Weekly Downloads

17

Version

0.0.8

License

MIT

Unpacked Size

180 kB

Total Files

10

Last publish

Collaborators

  • remin