lo-graph v0.5.2
lo-graph
lo-graph is an embedded graph data store that can be utilized as an intelligent and linked database. A more detailed writeup is found in out specs repo.
Visit the runner.ts
file to understand the usage. The root of the code lives in main.ts
Getting Started
npm install
npm run build
npm run test
Goals
Lo-Graph is designed to be an embeddable solution that can be used as a viable UI Store to maintain relations among data and keep references across various places. It also is a solid place to integrate UI events and detect patterns in user behaviour.
Be able to replace our flat-file storage
Amna has a strict hierarchy -> Referencing one Space from Another? Or "Duplicate Data". Tasks that span multiple days?
Structure
Lo Graph is built as a hashmap of vertices and edges. This allows for fast lookups and easy serialization.
Project Goals
- Ability to CRUD Data with relationships
- Serialize Data to a File
- Detect Patterns
- Compatible and Easily Usable within the Modern Web
- A Data Manipualtion Language that allows the project to be usable in any environment. See Cypher Language
Use Cases
- Building a linked notebook. Similar to Roam Research
- Detecting Event Cycles to Detect Patterns in User Interfaces
- Performing Low-Cost Recommendations for Users
Event-Listener
//addListener()
//emit(foreach Listenet -> callback());
//LoGraph.addListener(type:sdsdd, typeof etc..)
//onGraphChange(){// this.setState ListOfApps}
//emit("type change", "Typeof Task", operation: "Update")
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago