Inspired by ongoing conversations in other threads, I’ve started some initial work (very WIP) to implement a general-purpose graph library in Motoko, for a wide variety of possible applications.
If you are interested, I invite you to follow along, post comments or ask questions:
I have several applications in mind:
- Represent typical graphs (nodes and edges, with associated label data)
- Represent entity-relational models (for database-like queries)
- Other ideas are in the readme file
This is WIP. I’ve gotten as far as designing the public API with these ideas in mind. Any questions, comments or suggestions are welcome here.
I’ll post further updates when there is more to show, including the MVP implementation of the api above.