Why GenosDB Leaves Graph Traversal to You — and Why That's Powerful
Granular Graph Queries in GenosDB: Edges, Control, and Performance
GenosDB supports creating nodes and linking them via directed edges. Each node includes an edges array listing the IDs of its connected nodes.
However, GenosDB does not include built-in declarative graph traversal (like Cypher or Gremlin). Instead, traversal is left to the developer, offering full control using standard JavaScript logic (iterative or recursive).
This design is intentional and offers:
- Lightweight core for fast in-browser performance.
- Full flexibility to implement any traversal logic.
- Seamless integration with GenosDB's P2P sync and OPFS-based local storage.
Developers can build custom queries to navigate connected nodes, apply filters, and resolve complex relationships — all with fine-grained control.
This article is part of the official documentation of GenosDB (GDB).
GenosDB is a distributed, modular, peer-to-peer graph database built with a Zero-Trust Security Model, created by Esteban Fuster Pozzi (estebanrfp).
📄 Whitepaper | overview of GenosDB design and architecture
🛠 Roadmap | planned features and future updates
💡 Examples | code snippets and usage demos
📖 Documentation | full reference guide
🔍 API Reference | detailed API methods
📚 Wiki | additional notes and guides
💬 GitHub Discussions | community questions and feedback
🗂 Repository | Minified production-ready files
📦 Install via npm | quick setup instructions
Top comments (0)