Graphical Query Builder for trails (purely functional graph traversal language).
GQB is built with AngularJS online demo.
![image][] [image]: http://gqb.ebrun.ch/img/gqb.png
It is possible to extend GQB for other query languages like SQL or gremlin.
Requirements:
- Webserver with PHP (>= 5)
Clone the repository to your webserver folder. Enjoy!
The quickest way to get started with your own schema is to create a JSON schema as shown below:
{
"nodes": [
{
"name": "A",
"properties": [
{
"name": "Key",
"propertyType": "Long"
}
]
},
{
"name": "B",
"properties": [
{
"name": "Name",
"propertyType": "String"
}
]
}
],
"edges": [
{
"name": "C",
"properties": [],
"fromSchemaNode": "A",
"toSchemaNode": "B"
}
],
"enums": []
}
Follow these steps to add a new schema:
- Save this schema under gqb/app/data/schema.json and open the admin page demo admin page.
- Save the layout on the server.
- Go to the query page to use the new schema.
GQB is licensed under the MIT License.