yewflow

Crates.ioyewflow
lib.rsyewflow
version0.2.0
sourcesrc
created_at2024-02-11 16:28:40.686523
updated_at2024-02-22 19:54:23.433322
descriptionA flowchart library for Yew, inspired by React Flow
homepage
repositoryhttps://github.com/nmattela/yewflow
max_upload_size
id1135925
size49,257
Nicolas Mattelaer (nmattela)

documentation

README

Yewflow

A library inspired by React Flow, but made for Yew.

It is not a perfect copy, nor does it include all the features that React Flow has.

The current features are:

  • A fully-functional panel that can be dragged and zoomed in.
  • Nodes that can be dragged around and customized to your liking.
  • Straight edges that can be customized to your liking.

Some major features that are missing:

  • There is only a single edge type (straight).
  • There is no default styling for nodes or edges. One must be provided by the user.

To get started, I recommend you check out the example in the examples folder.

"Example of Yewflow in action"

Contribution

Naturally, contributions are welcome. Just open a pull request and I will be notified.

DISCLAIMER: This is my first proper project in Rust. Any feedback on the code is appreciated.

License

This project is licensed under MIT license. See LICENSE-MIT for more information.

Commit count: 0

cargo fmt