#editor #net #petri #logic

pn-editor-core

The core logic of the petri net editor

9 breaking releases

0.11.0 Jan 20, 2024
0.9.0 Aug 30, 2023
0.8.1 Oct 19, 2022
0.6.0 Jun 26, 2022
0.1.0 Apr 12, 2021

#324 in Text editors


Used in pn-editor

MIT/Apache

130KB
3K 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–14MB
~150K SLoC