pub struct DocGraph {
pub nodes: Vec<String>,
pub edges: Vec<(String, String)>,
pub mermaid: String,
}Expand description
Documentation graph representing markdown file relationships.
Captures the topology of .md files and their cross-references.
Used to visualize constitution structure and navigation paths.
Fieldsยง
ยงnodes: Vec<String>All markdown files found (relative paths)
edges: Vec<(String, String)>Directed edges (src_file, target_file) from markdown links
mermaid: StringMermaid diagram representation of the graph
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for DocGraph
impl<'de> Deserialize<'de> for DocGraph
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementationsยง
impl Freeze for DocGraph
impl RefUnwindSafe for DocGraph
impl Send for DocGraph
impl Sync for DocGraph
impl Unpin for DocGraph
impl UnsafeUnpin for DocGraph
impl UnwindSafe for DocGraph
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more