Returns the ID of the node. A node ID is a serial number of a node between `0` and `n-1` where `n` is the number of nodes in the parent graph. This number is equal to the number of nodes in the parent graph before this node was added to it. # Returns Node ID
(&self)
| 469 | /// |
| 470 | /// Node ID |
| 471 | pub fn get_id(&self) -> u64 { |
| 472 | self.body.borrow().id |
| 473 | } |
| 474 | |
| 475 | /// Returns the pair of the parent graph ID and node ID |
| 476 | /// |
no outgoing calls