fix: vertex_id is now set correctly when it is a group flow
This commit is contained in:
parent
340df293ba
commit
6564d04206
1 changed files with 1 additions and 0 deletions
|
|
@ -1208,6 +1208,7 @@ class Graph:
|
|||
except ValueError:
|
||||
stop_or_start_vertex = self.get_root_of_group_node(vertex_id)
|
||||
stack = [stop_or_start_vertex.id]
|
||||
vertex_id = stop_or_start_vertex.id
|
||||
stop_predecessors = [pre.id for pre in stop_or_start_vertex.predecessors]
|
||||
# DFS to collect all vertices that can reach the specified vertex
|
||||
while stack:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue