Closed chapuisk closed 3 months ago
I also noticed some weird code in graphs while cleaning up the code base (see for example here a property was used in some graph algorithms but actually never set) I think that part has been modified many many times and would benefit from some refactoring
@chapuisk to be tested, but it should be fixed
Describe the bug Operators to generate graph (such as small world, scale free and the like) make it possible to specify the species of the node, i.e. argument node_species. Doing so leads to diverse odd outcomes: more nodes than agent of species created, node (vertice) that are actually not from defined species, spatial representation do not match, etc.
To Reproduce Steps to reproduce the behavior:
Copy past this simple model example:
}
species a { aspect default {draw circle(1) color:#grey;} }
experiment xp { output { display main { species a; graphics edges {loop e over:g.edges {draw geometry(e) color:#black;}} } } }