Skip to content

Commit

Permalink
Merge branch 'main' into update-amplitude-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana authored Jul 5, 2024
2 parents a694736 + 6710d38 commit 394b47a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clients/admin-ui/src/features/datamap/CytoscapeGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ const CytoscapeWrapper = dynamic(() => import("react-cytoscapejs"), {
});

cytoscape.use(klay);
if (process.env.NODE_ENV !== "development") {
cytoscape.warnings(false);
}

type UseCytoscapeGraphProps = {
data: SpatialData;
Expand Down Expand Up @@ -213,7 +216,7 @@ const CytoscapeGraph = ({
elements={elements}
style={{ height: "100%", width: "100%", backgroundColor }}
stylesheet={styleSheet}
// wheelSensitivity={0.085} // removed due to warning about only using this setting in highly controlled environments
wheelSensitivity={0.085} // before changing the value, test the behavior on a mouse and a trackpad
layout={layoutConfig}
/>
</Box>
Expand Down

0 comments on commit 394b47a

Please sign in to comment.