ec
egui_cable
cargo install egui_cable
ec

egui_cable

Generic and extensible egui widgets to create analog synthesizer-like UI with data-oriented API

by Ryo Hirayama

0.3.0 (see all)License:MIT OR Apache-2.0
cargo install egui_cable
Readme

egui_cable

GitHub MIT/Apache 2.0 Crates.io docs.rs

A generic and extensible data-oriented widget for connecting ports by cables.

I create this for the visual programming editor of Hihaheho/Desk.

It's good for:

  • analog synthesizer-like UI
  • node-based UI
  • anything you can imagine

Features

  • connect ports by data
  • dynamic connect and disconnect
  • lock connection
  • custom plug widget
  • custom port widget
  • custom cable widget
  • multiple connections on a single port.
  • on-connect event
  • on-disconnect event
  • on-hover event
  • garbage collection
  • multi-touch support (help me)

Examples

Click the images to see the source code.

Simple example

Connect example

GitHub Stars

21

LAST COMMIT

1mo ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

4

OPEN PRs

0
VersionTagPublished
0.3.0
10d ago
0.2.2
1mo ago
0.2.1
1mo ago
0.2.0
1mo ago
No alternatives found
No tutorials found
Add a tutorial