1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//! Public data models for Mermaid diagram families.
//!
//! Built-in family constructors are intentionally crate-private. External callers must parse
//! through [`crate::Engine`], which owns preprocessing, detection, configuration, and the closed
//! [`crate::DiagramParseSnapshot`] contract. This prevents callers from constructing metadata by
//! hand and invoking a semantic, render-model, or editor-facts parser independently.
//!
//! ```compile_fail,E0603
//! use merman_core::diagrams::flowchart::parse_flowchart;
//! ```
//!
//! Built-in parser pointers are not exposed through the public registry either:
//!
//! ```compile_fail,E0624
//! use merman_core::DiagramRegistry;
//!
//! let registry = DiagramRegistry::pinned_mermaid_baseline();
//! let _parser = registry.get("flowchart-v2");
//! ```
macro_rules! include_checked_in_lalrpop_parser {
($(#[$attr:meta])* $name:ident, $file:literal) => {
#[rustfmt::skip]
#[allow(clippy::extra_unused_lifetimes)]
#[allow(clippy::needless_lifetimes)]
#[allow(clippy::let_unit_value)]
#[allow(clippy::just_underscores_and_digits)]
$(#[$attr])*
mod $name {
include!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/src/generated/lalrpop/",
$file
));
}
};
}
pub mod architecture;
pub mod block;
pub mod c4;
pub mod class;
pub mod cynefin;
pub mod er;
pub mod error_diagram;
pub mod eventmodeling;
pub mod flowchart;
pub mod gantt;
pub mod git_graph;
pub mod info;
pub mod ishikawa;
pub mod journey;
pub mod kanban;
pub(crate) mod langium_common;
pub mod mindmap;
pub mod packet;
pub mod pie;
pub mod quadrant_chart;
pub mod radar;
pub mod railroad;
pub mod requirement;
pub mod sankey;
pub(crate) mod scan;
pub mod sequence;
pub mod state;
pub mod timeline;
pub mod tree_view;
pub mod treemap;
pub mod venn;
pub mod wardley;
pub mod xychart;
pub mod zenuml;