Skip to content

Commit b0b5318

Browse files
committed
readme example update.
1 parent 168a295 commit b0b5318

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ if __name__ == '__main__':
8989
node_b = graph.create_node('com.chantasticvfx.MyNode', name='Node B', color='#5b162f')
9090

9191
# connect node a input to node b output.
92-
node_a.set_input(0, node_b.output(0))
92+
node_a.set_input(0, node_b.output(0))
93+
94+
# auto layout nodes.
95+
graph.auto_layout_nodes()
9396

9497
# get the widget and show.
9598
graph_widget = graph.widget

0 commit comments

Comments
 (0)