pub fn create_api_state(graph: SourceCodeGraph) -> Arc<ApiState>
Create a new API state with the given graph.