Skip to content

Commit

Permalink
feat: fix the bug in switching layout container
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Nov 21, 2023
1 parent d69bce7 commit c58d28c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/gi-sdk/src/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ const initialCanvasStore = {
},
nodes: [],
edges: [],
layout: {},
layout: {
id: 'Force2',
props: {
type: 'force',
},
},
isLoading: false,
largeGraphLimit: 1000,
largeGraphMode: false,
Expand Down

0 comments on commit c58d28c

Please sign in to comment.