pn_editor_core/lib.rs
1#![deny(missing_docs)]
2
3/*!
4This contains the logic for editing petri nets.
5In order to use it, you need to implement the `Renderer` trait for your renderer.
6Then you can create a new `Editor`.
7Then you need to call the main events `input`, `render` and `update` repeatedly as specified.
8In order to call `input`, you need to create an `InputEvent`.
9**/
10
11mod edit_list;
12mod editor;
13mod feature_types;
14mod input_types;
15mod node;
16mod node_settings;
17mod path_map;
18mod renderer;
19mod state_info;
20mod text_content;
21mod vector;
22
23pub use editor::Editor;
24pub use feature_types::ViewMode;
25pub use input_types::{ActionButton, CursorBoundary, FireDirection, LineDirection, LineScope};
26pub use node_settings::NodeSettings;
27pub use renderer::{ArrowKind, Renderer};
28pub use state_info::CallableState;