import streamlit as st import graphviz as gv # Define the Graphviz diagram using the DOT language dot = gv.Digraph() # Add some nodes and edges to the diagram dot.node('A', label='') dot.node('B', label='') dot.node('C', label='') dot.edge('A', 'B', label='') dot.edge('A', 'C', label='') # Render the diagram in Streamlit using the Graphviz renderer st.graphviz_chart(dot.source)