chore(docs): cleanup layouting example

This commit is contained in:
braks
2024-02-07 22:42:42 +01:00
parent a99c620b18
commit dc8faecd8c
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export function useRunProcess(dagreGraph) {
// Randomly decide whether the node will throw an error
const willThrowError = Math.random() < 0.15
if (willThrowError) {
if (!isStart && willThrowError) {
updateNodeData(node.id, { isRunning: false, hasError: true })
await skipDescendants(node.id)