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 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