Skip to main content

generate_sequence_mermaid

Function generate_sequence_mermaid 

Source
pub fn generate_sequence_mermaid(
    gq: &GraphQuery<'_, '_>,
    entry_symbol_id: &str,
    depth: u32,
) -> Result<String>
Expand description

Generate a Mermaid sequenceDiagram from the call graph starting at entry_symbol_id.

Participants = unique files. Messages = CALLS edges. BFS bounded by depth. Skips self-calls (same file calling same file) unless they cross functions.