Skip to content

Commit

Permalink
fix(route-visualization): edge shoudln't be displayed when stop is used
Browse files Browse the repository at this point in the history
  • Loading branch information
mmelko committed Oct 15, 2024
1 parent f7e4b44 commit c59c531
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ class VisualizationService {
}
} else {
siblingNodes.forEach(function (nodeId) {
links.push({ id: nodeId + '-' + id, source: nodeId + '', target: id })
if (nodeDatas[nodeId]!.type !== 'stop') {
links.push({ id: nodeId + '-' + id, source: nodeId + '', target: id })
}
})

siblingNodes.length = 0
Expand Down

0 comments on commit c59c531

Please sign in to comment.