Closed benoitgaudou closed 5 years ago
Describe the bug Run the model Strahler.gaml in Modeling / Spatial topology / Graphs.
Strahler.gaml
Modeling / Spatial topology / Graphs
We should observe a river network with Strahler order on the river and the associated color. Instead, we get a 0 order for all the rivers.
This seems to be due to the main_connected_component operator in:
main_connected_component
river_network <- directed(main_connected_component(as_edge_graph(river)));
that returns an empty graph from the river network (not empty).
Desktop (please complete the following information):
Fixed by commit 0e7e15f
Describe the bug Run the model
Strahler.gaml
inModeling / Spatial topology / Graphs
.We should observe a river network with Strahler order on the river and the associated color. Instead, we get a 0 order for all the rivers.
This seems to be due to the
main_connected_component
operator in:that returns an empty graph from the river network (not empty).
Desktop (please complete the following information):