Closed lemg98 closed 2 years ago
Not limit
Try yourself.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jerosoler/Drawflow/dist/drawflow.min.css"/>
<script src="https://cdn.jsdelivr.net/gh/jerosoler/Drawflow/dist/drawflow.min.js"></script>
</head>
<body>
<div id="drawflow"></div>
<style>
#drawflow {
position: relative;
text-align:initial;
width: 100%;
height: 800px;
border: 1px solid red;
}
</style>
<script>
var id = document.getElementById("drawflow");
const editor = new Drawflow(id);
editor.start();
for (let index = 0; index < 300; index++) {
editor.addNode('test', 2,3, index*10, index*10, 'test', {}, `Block: ${index}`)
}
</script>
</body>
</html>
The console gives you an error
There is a limit of nodes that could be render? I'm trying to render 127 nodes but from block number 71 the next nodes are nulls on html.