fn subgraph_by_kind( cpg: &CodePropertyGraph, kind: Option<&str>, max_nodes: usize, ) -> GraphData
Build a subgraph limited to nodes of a given kind.