New Component: Streamlit-Flow allows the display of Argo workflow nodes

Hi everyone, as part of a series of shared components, I’m excited to introduce a new component that displays Argo workflow nodes. It supports the node phases “success”, “failed”, “running”, “pending”. You can find the project at the following address:

st_flow

Install

# in the root path of project
bash build.sh
pip install .

Usage

# in the root path of project
import json
from streamlit_flow.argo_workflow import st_argo_workflow
# one can get this data through the argo workflow api
# '/api/v1/workflows/{namespace}/{id}'
# or '/api/v1/archived-workflows/{uid}'
data = json.load(open('example_data.json'))
st_argo_workflow(data, height=800, width="100%")
5 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.