Rustelo/features/content-graph/templates/components/mod.rs
Jesús Pérez c0281e759c
chore: update
2026-07-18 20:14:32 +01:00

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"));