Implement automatic IDs

This commit is contained in:
Juno Takano 2025-12-10 09:58:44 -03:00
commit 400eb02efc
5 changed files with 26 additions and 32 deletions

View file

@ -55,6 +55,7 @@ fn modulate_nodes(old_nodes: HashMap<String, Node>) -> HashMap<String, Node> {
}
let new_node = Node {
id: key.clone(),
connections: Some(new_edges),
..node.clone()
};