pub fn build_graph_from_source(source: &str) -> Result<JsValue, JsValue>
Build a reference graph from AgentScript source code.