Skip to content

Commit

Permalink
Merge pull request #14 from Jsoconno/hotfix-flow
Browse files Browse the repository at this point in the history
fixed issue with flow logic
  • Loading branch information
jsoconno authored Jan 6, 2021
2 parents de505c6 + bcf8344 commit 014989d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion architectures/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def __init__(self, nodes, **attrs):
cluster = self.start_node
self.start_node = get_cluster_node(self.start_node)
self.edge_attrs.update({"ltail": cluster.name})
elif isinstance(current_start_node, (Cluster, Group)) and isinstance(current_end_node, (Cluster, Group)):
elif isinstance(self.start_node, (Cluster, Group)) and isinstance(self.end_node, (Cluster, Group)):
start_cluster = self.start_node
end_cluster = self.end_node
self.start_node = get_cluster_node(self.start_node)
Expand Down
Binary file modified my-architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/simple-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
with Cluster("Cluster C") as cluster_c:
g = Node("G")

Flow([a, c, cluster_b, g, f, b], color="goldenrod")
Flow([a, c, cluster_b, cluster_a, g, f, b], color="goldenrod")

0 comments on commit 014989d

Please sign in to comment.