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
//! Type graph visualization for elicitation workflows.
//!
//! Provides a runtime-queryable structural registry ([`TypeGraphKey`]),
//! a graph builder ([`TypeGraph`]), and renderers ([`MermaidRenderer`],
//! [`DotRenderer`]) that together enable visualization of any
//! `#[derive(Elicit)]` type hierarchy.
//!
//! # Quick start
//!
//! ```rust,ignore
//! use elicitation::type_graph::{TypeGraph, MermaidRenderer, GraphRenderer};
//!
//! let graph = TypeGraph::from_root("ApplicationConfig")?;
//! let mermaid = MermaidRenderer::new().render(&graph);
//! println!("{mermaid}");
//! ```
//!
//! # Registry
//!
//! Types register themselves automatically via `#[derive(Elicit)]`. To query
//! the registry directly:
//!
//! ```rust,ignore
//! use elicitation::type_graph::{lookup_type_graph, all_graphable_types};
//!
//! for name in all_graphable_types() {
//! println!("{name}");
//! }
//! ```
pub use ;
pub use ;
pub use TypeGraphPlugin;
pub use ;