chore(examples): stress with 900 nodes
This commit is contained in:
@@ -8,7 +8,7 @@ const onLoad = (reactFlowInstance) => {
|
|||||||
console.log(reactFlowInstance.getElements());
|
console.log(reactFlowInstance.getElements());
|
||||||
};
|
};
|
||||||
|
|
||||||
const initialElements = getElements(10, 10);
|
const initialElements = getElements(30, 30);
|
||||||
|
|
||||||
const StressFlow = () => {
|
const StressFlow = () => {
|
||||||
const [elements, setElements] = useState(initialElements);
|
const [elements, setElements] = useState(initialElements);
|
||||||
|
|||||||
Reference in New Issue
Block a user