Graph Core示例子图作为 CompiledGraph本页总览子图作为 CompiledGraph 在 Spring AI Alibaba 中,可以先编译 StateGraph 得到 CompiledGraph,然后在其他 Graph 中复用,这种方式性能更好且更灵活。 CompiledGraph vs StateGraph 特性StateGraphCompiledGraph定义时机构建时编译后性能需要每次编译预编译,性能更好灵活性可修改