Create a new node with the given id
(id: String)
| 74 | impl Node { |
| 75 | /// Create a new node with the given id |
| 76 | pub fn new(id: String) -> Self { |
| 77 | Self { |
| 78 | id, |
| 79 | labels: Vec::new(), |
| 80 | properties: HashMap::new(), |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | /// Create a new node with id and labels |
| 85 | pub fn with_labels(id: String, labels: Vec<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected