MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / node

Method node

libatomic/src/review/graph.rs:596–603  ·  view source on GitHub ↗
(&mut self, id: &str, kind: &str, label: &str, properties: Value)

Source from the content-addressed store, hash-verified

594}
595impl 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(),

Callers 3

projectFunction · 0.45
project_checksFunction · 0.45
project_metricsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected