Wrote simple event to subgraph function.

Updated related code to align.
This commit is contained in:
Jay
2026-03-03 11:01:37 -05:00
parent a1be3faf14
commit e734fc77ed
7 changed files with 319 additions and 42 deletions

View File

@@ -191,6 +191,14 @@ func (s *Subgraph) AddRel(rel *Relationship) {
s.rels = append(s.rels, rel)
}
func (s *Subgraph) Nodes() []*Node {
return s.nodes
}
func (s *Subgraph) Rels() []*Relationship {
return s.rels
}
// ========================================
// Structured Subgraph
// ========================================