(&mut self, id: &str, kind: &str, label: &str, properties: Value)
| 594 | } |
| 595 | impl Projection { |
| 596 | fn node(&mut self, id: &str, kind: &str, label: &str, properties: Value) { |
| 597 | self.nodes.entry(id.into()).or_insert_with(|| GraphNode { |
| 598 | id: id.into(), |
| 599 | kind: kind.into(), |
| 600 | label: label.into(), |
| 601 | properties, |
| 602 | }); |
| 603 | } |
| 604 | fn edge(&mut self, from: &str, relation: &str, to: &str) { |
| 605 | self.edges.insert(GraphEdge { |
| 606 | from: from.into(), |
no outgoing calls
no test coverage detected