Skip to content
Snippets Groups Projects
Commit 6123aacc authored by Rasmus Karlsson's avatar Rasmus Karlsson
Browse files

Added cool squares

parent 24898db0
No related branches found
No related tags found
1 merge request!48Resolve "Visualize PG"
Pipeline #15208 passed
......@@ -627,7 +627,10 @@ class SFG(AbstractOperation):
for port in ports:
for signal in port.signals:
pg.edge(port.operation.graph_id + '.' + str(port.index), signal.destination.operation.graph_id)
pg.node(signal.destination.operation.graph_id, shape = 'square')
pg.edge(port.operation.graph_id, port.operation.graph_id + '.' + str(port.index))
pg.node(port.operation.graph_id, shape = 'square')
pg.view()
def print_precedence_graph(self) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment