Sadly, this is an old bug/limitation of st.graphviz_chart
In short, a different engine is required by graphviz to render nodes in fixed positions (check pos | Graphviz for details), however, none of them are supported by st.graphviz_chart.
Related topic: