reminjp / covi

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:TypeScript 91.6%Language:SCSS 4.8%Language:JavaScript 3.3%Language:HTML 0.3%