Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def algorithms_cycle_detection():
|
|
70 |
|
71 |
if graph_mode == "Default Example":
|
72 |
# Create a predefined graph with multiple cycles
|
73 |
-
G = nx.DiGraph([(1, 2), (2, 3), (3,
|
74 |
st.write("Default Graph: A simple directed graph with multiple cycles.")
|
75 |
plot_cycle_detection(G)
|
76 |
|
|
|
70 |
|
71 |
if graph_mode == "Default Example":
|
72 |
# Create a predefined graph with multiple cycles
|
73 |
+
G = nx.DiGraph([(1, 2), (2, 3), (3, 4), (4, 2)])
|
74 |
st.write("Default Graph: A simple directed graph with multiple cycles.")
|
75 |
plot_cycle_detection(G)
|
76 |
|