Skip to content

Commit 26cc7a7

Browse files
committed
fix(#13,doc): code to plot workflow diagram in intro
1 parent e70718b commit 26cc7a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ Here's a Python script with an example GraphKit computation graph that produces
6767
# Prints "{'a_minus_ab': -8}".
6868
print(out)
6969

70+
# Plot workflow diagram in a matplotlib window (`graphviz` in the path needed)
71+
graph.net.plot(show=True)
72+
73+
7074
As you can see, any function can be used as an operation in GraphKit, even ones imported from system modules!
7175

7276
License

0 commit comments

Comments
 (0)