mat1 / GQB

Graphical Query Builder for trails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GQB

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.

Installation

Requirements:

  • Webserver with PHP (>= 5)

Clone the repository to your webserver folder. Enjoy!

Use an other schema

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.

License

GQB is licensed under the MIT License.

About

Graphical Query Builder for trails

License:MIT License


Languages

Language:JavaScript 93.1%Language:CSS 6.8%Language:Shell 0.0%Language:Ruby 0.0%Language:PHP 0.0%