mermaid-markdown-api 0.2.0

Generating markdown for mermaid diagrams
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::syntax::CoreSyntaxFunctions;

pub mod connection;
pub mod node;

pub trait DiagramObject<T: CoreSyntaxFunctions> {
    fn add_object_to_schema(
        &self,
        schema: &mut T,
        id: Option<&str>,
        extra_length_num: Option<u8>,
    );
}

// TODO: Maybe make a switch on a passed argument enum repesenting the syntax to generate the config file
// TODO: String to ENUM and what that allows for configuration objects