28 lines
890 B
Rust
28 lines
890 B
Rust
// Generated by `rustelo add content-graph` — owned by the implementation.
|
|
// Copied to: crates/pages/src/content_graph/mod.rs
|
|
|
|
pub mod graph_mini;
|
|
pub mod graph_view;
|
|
pub mod ontology_context;
|
|
pub mod related_content;
|
|
|
|
pub use graph_mini::GraphMini;
|
|
pub use graph_view::GraphView;
|
|
pub use ontology_context::OntologyContext;
|
|
pub use related_content::RelatedContent;
|
|
|
|
// Generated static data — included from build OUT_DIR.
|
|
// The include! paths are resolved by the implementation's build.rs.
|
|
pub mod generated {
|
|
pub mod related {
|
|
include!(concat!(env!("OUT_DIR"), "/related_map.rs"));
|
|
}
|
|
pub mod ontology {
|
|
include!(concat!(env!("OUT_DIR"), "/ontology_context_map.rs"));
|
|
}
|
|
pub mod mini {
|
|
include!(concat!(env!("OUT_DIR"), "/graph_mini_map.rs"));
|
|
}
|
|
}
|
|
|
|
const GRAPH_JSON: &str = include_str!(concat!(env!("OUT_DIR"), "/content_graph.json"));
|