Skip to content

Commit 189b003

Browse files
authored
Add Schema.Graph and Graph.fromSnapshot (#7261)
1 parent 2b6a6f5 commit 189b003

10 files changed

Lines changed: 1208 additions & 269 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"effect": patch
3+
---
4+
5+
Add `Graph.Snapshot` and `Graph.fromSnapshot` for constructing immutable graphs with explicit node and edge indexes, and simplify `Graph.Edge` to a type-only structural interface.

.changeset/curvy-graphs-code.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"effect": patch
3+
---
4+
5+
Add `Schema.Graph` for schema-based encoding and decoding of immutable directed and undirected graphs.

0 commit comments

Comments
 (0)