Implement automatic IDs
This commit is contained in:
parent
d56b54eb9b
commit
400eb02efc
5 changed files with 26 additions and 32 deletions
|
|
@ -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()
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue