-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2e9a73
commit 6e2fed1
Showing
5 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
applications/visualizer/frontend/src/components/viewers/EM/EM.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Box } from "@mui/material"; | ||
import cytoscape from "cytoscape"; | ||
import dagre from "cytoscape-dagre"; | ||
import fcose from "cytoscape-fcose"; | ||
|
||
cytoscape.use(fcose); | ||
cytoscape.use(dagre); | ||
|
||
const EM = () => { | ||
return ( | ||
<Box sx={{ position: "relative", display: "flex", width: "100%", height: "100%" }}> | ||
|
||
</Box> | ||
); | ||
}; | ||
|
||
export default EM; |
2 changes: 2 additions & 0 deletions
2
applications/visualizer/frontend/src/layout-manager/componentMap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import ThreeDViewer from "../components/viewers/ThreeD/ThreeDViewer.tsx"; | ||
import TwoDViewer from "../components/viewers/TwoD/TwoDViewer.tsx"; | ||
import { widgetIds } from "./widgets.ts"; | ||
import EMViewer from "../components/viewers/EM/EM.tsx"; | ||
|
||
const componentMap = { | ||
[widgetIds.threeDViewer]: ThreeDViewer, | ||
[widgetIds.twoDViewer]: TwoDViewer, | ||
[widgetIds.emDataViewer]: EMViewer, | ||
}; | ||
|
||
export default componentMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters