Skip to main content

A web-based toolbox for Melodie ABM package.

Project description

MelodieStudio

Introduction

MelodieStudio is a package developed in parallel with Melodie, which interacts with the Melodie.Visualizer module and visualizes the simulation results in the browser.

Functional Areas

As shown, the visualizer page includes three parts:

  • Toolbar
    • Including several components controlling the simulation, saving and loading custom parameter set.
  • Parameter Space
    • Listing parameters that affect the model.
    • Customizable in the model-specific visualizer.py file.
  • Canvas
    • Web-based visualization components for Grid and Network.
    • Web-based charts, including line chart, bar chart, etc.
    • Customizable in the model-specific visualizer.py file.

Here are two examples - CovidGridContagionVisual and CovidNetworkContagionVisual - using the MelodieStudio package, and they are explained in this document.

User Installation

PIP installation

pip install MelodieStudio

Run MelodieStudio

python -m MelodieStudio

If you are running a visualizer, please start the MelodieStudio in the root path of your ABM project.

Developer Installation

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Dist wheel with building webpage:

python build_web.py # build webpage
python setup.py bdist_wheel # build wheel, and include the webpage.

Technical Introduction

This project is based on Vue, Element-Plus and Echarts. Besides, the structure of project is based on Vue-Onepiece-Admin.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

MelodieStudio-0.6.0-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file MelodieStudio-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for MelodieStudio-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d31517f132a2aa01e84a614d450bf7d8778f3eebe332a95a0971426519286337
MD5 1d8ef923558cfe757a09812557a87244
BLAKE2b-256 6856af0663ae57f2ca0afe2a4596f020d6d38caae5aaf9b32a58b5503ef5a89f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page