Graphify: Automated Synthesis of Type-Safe Graph Backends via $O(S)$ GraphQL-to-Gremlin Transpilation
Johannes Graf

TL;DR
Graphify is a framework that automatically generates type-safe, efficient GraphQL-to-Gremlin backends from visual schema models, supporting complex queries with linear complexity.
Contribution
It introduces a formal mapping from GraphQL to Gremlin and a recursive algorithm for fast, type-safe backend synthesis, bridging flexible graph storage with safe API development.
Findings
Supports complete CRUD and nested queries with $O(S)$ complexity.
Demonstrates practical efficiency on MovieLens 100k dataset.
Enables rapid generation of graph interfaces in minutes.
Abstract
Graph databases offer unparalleled flexibility for managing interconnected data, yet the lack of strict schema enforcement often leads to runtime uncertainties and complex query development. This paper introduces Graphify, an end-to-end framework that enables developers to visually model graph data schemas and automatically synthesize a fully functional, type-safe backend. This paper proposes a formal mapping of GraphQL artifacts to the Gremlin traversal machine, supporting complete CRUD operations and arbitrarily nested queries. The system generates a transpiler capable of converting complex GraphQL requests into a single, optimized Gremlin query, including advanced features such as nested logical predicates, multi-key sorting, and pagination. At the core of the framework is a recursive state machine algorithm that processes GraphQL Abstract Syntax Trees (ASTs) with linear time…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
