mermaid_markdown_api/objects/
mod.rs

1use crate::syntax::CoreSyntaxFunctions;
2
3pub mod connection;
4pub mod node;
5
6pub trait DiagramObject<T: CoreSyntaxFunctions> {
7    fn add_object_to_schema(
8        &self,
9        schema: &mut T,
10        id: Option<&str>,
11        extra_length_num: Option<u8>,
12    );
13}
14
15// TODO: Maybe make a switch on a passed argument enum repesenting the syntax to generate the config file
16// TODO: String to ENUM and what that allows for configuration objects