chore(cypress): use latest version

This commit is contained in:
moklick
2022-04-27 10:45:25 +02:00
parent 90aca9d4e6
commit ebf2a66639
3 changed files with 39 additions and 37 deletions
+3 -1
View File
@@ -24,6 +24,8 @@ const initialEdges: Edge[] = [
{ id: 'e1-3', source: '1', target: '3' },
];
const defaultEdgeOptions = { zIndex: 0 };
const BasicFlow = () => {
const instance = useReactFlow();
@@ -60,10 +62,10 @@ const BasicFlow = () => {
onNodeClick={onNodeClick}
onNodeDragStop={onNodeDragStop}
className="react-flow-basic-example"
defaultZoom={1.5}
minZoom={0.2}
maxZoom={4}
fitView
defaultEdgeOptions={defaultEdgeOptions}
>
<Background variant={BackgroundVariant.Lines} />