Skip to content

Commit

Permalink
Add Performance
Browse files Browse the repository at this point in the history
  • Loading branch information
warioddly committed May 14, 2024
1 parent 10e5bf3 commit ed0b4f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/tree/TreeInteractiveViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,18 @@ export function TreeInteractiveViewer() {
{!loading && (
<CytoscapeComponent
elements={graph}
hideEdgesOnViewport={true}
textureOnViewport={true}
stylesheet={cytoscapeThemes as any}
layout={layout}
zoomingEnabled={true}
maxZoom={1}
minZoom={0.1}
autounselectify={false}
boxSelectionEnabled={false}
motionBlur={true}
headless={false}
wheelSensitivity={1.0}
style={{ width: '100vw', height: '100vh' }}
cy={(cy: cytoscape.Core) => {
treeStore.cy = cy;
Expand Down

0 comments on commit ed0b4f4

Please # to comment.