| Function signature[source] | |
|---|---|
st.graphviz_chart(figure_or_dot, use_container_width=False) | |
| Parameters | |
figure_or_dot (graphviz.dot.Graph, graphviz.dot.Digraph, str) | The Graphlib graph object or dot string to display |
use_container_width (bool) | If True, set the chart width to the column width. This takes precedence over the figure's native width value. |
Example
PythonOr you can render the chart from the graph using GraphViz's Dot language:
Python
Still have questions?
Our forums are full of helpful information and Streamlit experts.
