#editor #net #petri #logic

pn-editor-core

The core logic of the petri net editor

16 releases (breaking)

0.14.0 Sep 30, 2024
0.12.2 Sep 16, 2024
0.12.0 Jul 7, 2024
0.11.0 Jan 20, 2024
0.1.0 Apr 12, 2021

#246 in Text editors

Download history 96/week @ 2024-07-02 28/week @ 2024-07-09 105/week @ 2024-08-20 59/week @ 2024-08-27 88/week @ 2024-09-10 340/week @ 2024-09-17 165/week @ 2024-09-24 83/week @ 2024-10-01 8/week @ 2024-10-08

684 downloads per month
Used in pn-editor

MIT/Apache

135KB
3.5K SLoC

This contains the logic for editing petri nets. In order to use it, you need to implement the Renderer trait for your renderer. Then you can create a new Editor. Then you need to call the main events input, render and update repeatedly as specified. In order to call input, you need to create an InputEvent. *

Dependencies

~3–16MB
~164K SLoC