Skip to content

pathview

Browser-based block diagram editor for building and simulating dynamic systems in Python

Permissive (OSI) · MIT

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

102

Last commit

5 days ago

Nov 2026

Repository age

1 year

since Jun 2025

Latest version

v0.21.0

Nov 2026

Contributors

–

2 active in 90 days

Releases

25

last 12 months

Language

TypeScript

PathView is a visual editor where you drag blocks onto a canvas, wire them together and simulate the resulting dynamic system. PathSim runs the simulation. By default everything executes in your browser through Pyodide, with Python, NumPy and SciPy loaded client-side, so no server is needed. Results appear as interactive Plotly charts.

The interface is built with SvelteKit 5, SvelteFlow for the node canvas and CodeMirror 6 for code editing. If you need Python packages with native dependencies that Pyodide cannot run, you can install the pip package and start a local Flask backend with the pathview serve command. A hosted copy is free to use at view.pathsim.org.

You can convert saved .pvm model files into standalone PathSim Python scripts, from the command line or through a Python API. That makes it easy to move a model out of the editor and into a script. It is MIT licensed and suits people looking for a Simulink-style alternative for control and systems modeling.

Who it's for

Students learning control systems and signal modeling

It runs in the browser with nothing to install, so you can build and simulate block diagrams right away.

Skip if: You need the large toolbox ecosystem and code generation that mature commercial tools provide.

Engineers who prefer Python-based simulation workflows

Models convert to standalone PathSim scripts you can version and run outside the editor.

Skip if: Your team already works in a Simulink codebase you cannot port.

Researchers needing custom Python packages in a simulation

The optional Flask backend runs server-side Python with packages Pyodide cannot load.

Skip if: You want a fully managed hosted service with accounts and collaboration.

The problem it solves

Block diagram simulation tools are often expensive, desktop-bound and tied to one vendor. PathView lets you build and run dynamic system models in a browser tab, then export them as plain Python.

Strengths

  • Runs fully in the browser via Pyodide, with no server required
  • Installs locally with pip install pathview and pathview serve
  • Converts .pvm model files to standalone PathSim Python scripts
  • Optional Flask backend supports packages with native dependencies
  • MIT license with 25 releases in the past year

Trade-offs

  • Young project, first commit in 2025, with only two recent contributors
  • In-browser mode is limited to what Pyodide can run
  • Simulation features depend on the PathSim backend library

Self-host pathview

Self-hostable
No (desktop or local app)

Quick start

pip install pathview
pathview serve

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is PathView free?

Yes. It is MIT licensed, and the hosted editor at view.pathsim.org is free for everyone to use.

Do I need to install anything?

No. The hosted version runs in your browser. You can also run pip install pathview and start it locally with pathview serve.

Can I export a model to Python?

Yes. The pathview convert command turns a .pvm file into a standalone PathSim script. A Python convert function does the same.

Can it run packages that Pyodide does not support?

Yes, through the optional Flask backend, which executes Python on the server side with any packages you install.

Similar tools in Simulation software

Lightwave Explorer

Simulation software

GPU-accelerated nonlinear optics simulator for students and laser researchers

112 15 4 days ago Thriving MIT

suanPan

Simulation software

Parallel C++ finite element framework for structural and seismic engineering

97 15 today Active GPL-3.0

pairinteraction

Simulation software

Python library and GUI for computing Rydberg atom properties and pair potentials

58 38 22 days ago Slowing LGPL-3.0-or-later or GPL-3.0-or-later

QSpeakers

Simulation software

59 6 6 days ago Slowing GPL-3.0

optics-lab

Simulation software

44 2 32 days ago Slowing Apache-2.0