To visualize the Flow, simply chain it with .plot('my-flow.svg')
. If you are using a Jupyter notebook, the Flow object will be automatically displayed inline without plot
:
#Run this command to install Jina in this notebook
!pip install jina
from jina import Flow
Flow().add().add().add().add()
Gateway
is the entrypoint of the Flow.