pub fn export_json<W: Write>(
gq: &GraphQuery<'_, '_>,
writer: &mut W,
) -> Result<()>Expand description
Write JSON with {"nodes": [...], "edges": [...]} format.
Each node has id, type (Module/Symbol), and all relevant properties.
Each edge has source, target, and label.