Block diagram editor for control systems
Project description
Lynx - Block Diagram Widget for Control Systems
Lightweight block diagram editor GUI for control systems in Jupyter notebooks
Lynx is a Jupyter widget that enables interactive creation and editing of block diagrams for linear SISO control systems. Designed for controls engineers working in Jupyter environments.
Features
- Interactive Canvas: Drag-and-drop block diagram editing
- Control Theory Blocks: Transfer Function, State Space, Gain, Sum Junction, I/O markers
- Real-Time Validation: Algebraic loop detection, connection constraints
- Git-Friendly Persistence: Human-readable JSON format
- Python Integration: Use numpy expressions for parameters, export to python-control
- SISO Systems: Focus on linear single-input, single-output control systems
For more details, see the documentation site
Quick Start
The easiest way to install from pip:
pip install lynx-nb
Source build
Backend installation
# Using UV (recommended)
uv pip install -e ".[dev]"
# Or using pip
pip install -e ".[dev]"
Frontend Setup
cd js
npm install
npm run build
Jupyter Kernel Setup
# Install Jupyter kernel for this project
uv run ipython kernel install --user --env VIRTUAL_ENV $(pwd)/.venv --name=lynx
Basic Usage
import lynx
import numpy as np
# Create a diagram
diagram = lynx.Diagram()
# Launch interactive editor (displays in Jupyter)
lynx.edit(diagram)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lynx_nb-0.1.3.tar.gz.
File metadata
- Download URL: lynx_nb-0.1.3.tar.gz
- Upload date:
- Size: 890.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
037cd4745b607c6c1b7b7803ed2b1208185916feb93b9dfeb636148868ff07fa
|
|
| MD5 |
223920c5b3898fb4d711c40040338b01
|
|
| BLAKE2b-256 |
fed5f148a92cacc05e5de0f7a063173570e681a1b6ef602f068219df0741f571
|
File details
Details for the file lynx_nb-0.1.3-py3-none-any.whl.
File metadata
- Download URL: lynx_nb-0.1.3-py3-none-any.whl
- Upload date:
- Size: 76.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a27d03fc713413cdad3a69d64f4d69af5113b16f880aa64e0789e70c1899a96
|
|
| MD5 |
a2bf799bd63173a758d072d376c6fe6b
|
|
| BLAKE2b-256 |
1f26982d4a19721afca865fbbc34a21053ad6eaaadffc07f9c9d8fbc14f55e74
|