We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fc0b01 commit fe8cadfCopy full SHA for fe8cadf
agent-flow/package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "@fit-elsa/agent-flow",
3
"private": false,
4
- "version": "1.0.0-alpha.7",
+ "version": "1.0.0-alpha.8",
5
"type": "module",
6
"main": "./build/agent-flow.js",
7
"module": "./build/agent-flow.js",
agent-flow/src/flow/jadeFlowEntry.jsx
@@ -359,7 +359,7 @@ const jadeFlowAgent = (graph) => {
359
* @param shapeId 需要聚焦到的图形id.
360
*/
361
self.scrollToShape = (shapeId) => {
362
- graph.activePage.shapes.find(s => s.id === shapeId).toScreenCenter();
+ graph.activePage.sm.shapes.find(s => s.id === shapeId).toScreenCenter();
363
};
364
365
/**
0 commit comments