Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 6c89dbe

Browse files
committed
added entitymanager to openFile call
1 parent afd8952 commit 6c89dbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/renderer/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ export default class Vis2 extends React.Component <IAppProps, IAppState> {
7474

7575
openFile(data: any) {
7676
const { layout, viewport } = JSON.parse(data)
77+
7778
this.setState({
7879
// @ts-ignore
79-
layout: GraphLayout.fromJSON(config, layout),
80+
layout: GraphLayout.fromJSON(config, entityManager, layout),
8081
viewport: Viewport.fromJSON(config, viewport),
8182
})
8283
}

0 commit comments

Comments
 (0)