# Petri Net Simulation Library for Rust
This library provides a safe and convenient Rust interface for simulating petri nets, specifically designed for modeling non-linear plots in stories and games. It builds upon the `pns` crate, which is a low-level Rust binding to the petri net simulator written in C.
The library extends the functionality of the `pns` crate by providing a higher-level, idiomatic Rust API that abstracts away the low-level details and ensures safe usage. It allows you to easily create, modify, and simulate petri nets using a more expressive and Rust-friendly interface.
## Features
- Safe and idiomatic Rust API for simulating petri nets
- Designed for modeling non-linear plots in stories and games
- Builds upon the `pns` crate for low-level petri net simulation
- Provides high-level abstractions and utilities for working with petri nets
- Integrates with the `event-simulation` crate for a unified simulation framework
## Documentation
- [API Documentation](https://docs.rs/petri-net-simulation)
- [Base Library Documentation](https://docs.rs/pnrs)
- [C API Documentation](https://gitlab.com/porky11/pns)
## Petri Net Editor
For a visual and interactive way to create and edit petri nets, you can use the [Petri Net Editor](https://docs.rs/pn-editor) tool. It provides a graphical user interface and utilizes the entire API of this library to help you understand how it works.