Skip to content

Commit 80e3ba9

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

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/source/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@ Here's a Python script with an example GraphKit computation graph that produces
6969

7070
As you can see, any function can be used as an operation in GraphKit, even ones imported from system modules!
7171

72+
As a debug aid, you may plot the workflow with this code::
73+
74+
graph.net.plot(show=True)
75+
76+
> NOTE: `graphviz` must be in your PATH and `matplotlib` installed.
77+
> You may install both when installing *graphkit* with its `plot` extras::
78+
>
79+
> pip install graphkit[plot]
80+
81+
7282
License
7383
-------
7484

0 commit comments

Comments
 (0)