visualize me graph algorithms
To upload files, please first save the app
import streamlit as st
import graphviz
st.title("Graph Algorithms Visualizer")
# Create a directed graph
graph = graphviz.Digraph()
graph.node('A')
graph.node('B')
graph.node('C')
graph.node('D')
graph.edge('A', 'B')
graph.edge('A', 'C')
graph.edge('B', 'D')
graph.edge('C', 'D')
st.graphviz_chart(graph)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?