Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit ed9b750

Browse files
committed
fix(plugins/plugins-wskflow): race in wskflow with edge labels
Fixes #3401
1 parent 74d2920 commit ed9b750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/plugin-wskflow/src/lib/graph2doms.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,8 +1084,8 @@ export default async function graph2doms(
10841084
.attr('y', -14)
10851085
}, 0)
10861086

1087-
setTimeout(addMorePathAttr, 0) // we aren't properly using d3.select.enter... hacking a bit, for now
1088-
setTimeout(addEdgeLabels, 0)
1087+
setTimeout(addMorePathAttr, 100) // we aren't properly using d3.select.enter... hacking a bit, for now
1088+
setTimeout(addEdgeLabels, 100)
10891089
} /* drawGraph */
10901090

10911091
const elk = new ELK()

0 commit comments

Comments
 (0)