You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
如题当graphData数据量较大时,整体编辑器很晚才加载出来
我是在onLoad中进行了数据更新
const [graphData, setGraphData] = useState<NsGraph.IGraphData>({
nodes: [],
edges: [],
});
const onLoad: IAppLoad = async app => {
// 请求data
const { nodes, edges } = (data?.view_structure && JSON.parse(data?.view_structure)) || {};
setGraphData({ nodes: nodes || [], edges: edges || [] });
}
问题:请问有什么优化空间嘛?或者说让编辑器整体(包含FlowchartNodePanel、FlowchartExtension等)先出来,然后让FlowchartCanvas画布上的图慢慢渲染。感谢大家的解答。
补充:xflow首页钉钉群二维码失效了,请问我怎样才能进群
Beta Was this translation helpful? Give feedback.
All reactions