1.2.1 • Published 10 months ago

@kitware/trame-react v1.2.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
10 months ago

React/trame application

Requires a paraview 5.10+

Virtual environment

virtualenv .venv
source .venv/bin/activate
pip install -r trame-app/requirements.txt

trame application

Run trame-app

cd trame-app
path/to/pvpython ./app.py --port 8080 --server --venv absolute/path/to/.venv

React Application

Setup

In an other terminal:

npm install

Apps communication

Before launching the streamlit app, please modify .venv/lib/python3.9/site-packages/trame_iframe/module/serve/trame-iframe.umd.js file:

Change in "Communicator" section:

window.postMessage(e,"*");

by

window.top.postMessage(e,"*");

Open localhost:8081 on your web browser

1.2.1

10 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago