hguo / fzvis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tutorial

Prerequisites

  1. libpressio
  2. nodejs, vue
  3. python (flask, flask_cors, json, numpy)

Project setup

cd to the path that you git clone the code
run `npm install`

Compiles and hot-reloads for development

run `npm run serve` to start vue.
The dashboard should look like this figure.
image

workflow

upload data first:

  Upload the data you are going to compress in the bottom left view.
  (make sure your inputdata is '.json' and has been processed into a format similar to 100*500*500 for visualization.)
image

run compressor:

enter the configuration and also the absolute path of your input file. After you have configured all the options, press the Enter key. image

compresoor_id: Please enter the compressor that is supported by libpressio.
early config: Please include your input with single quotation mark, if you are going to include a path in your configuration, please make sure you entered the absolute path.
compressor_config: Please include your input with single quotation mark. 
path_to_input_data: Please enter the absolute path of your input file. Include your input with single quotation mark.
compressor_name: The name for this configuration of compressor.

About


Languages

Language:Vue 86.9%Language:Python 11.3%Language:JavaScript 1.0%Language:HTML 0.7%