1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#![deny(missing_docs)]

/*!
    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`.
**/

mod edit_list;
mod editor;
mod feature_types;
mod node;
mod node_settings;
mod renderer;
mod state_info;

pub use editor::Editor;
pub use feature_types::ViewMode;
pub use node_settings::NodeSettings;
pub use renderer::{ArrowKind, Renderer};