All versions of this manual
X
 

Configuring data-sources: DataStax Enterprise Graph

DataStax Enterprise Graph is supported from version 5.0.4.

Prerequisites

In order to use DSE Graph with Linkurious is necessary that the option graph.tx_autostart is set to true on your current database.

Enable it via the DSE gremlin console by typing:

:remote config alias g <graphName>.g
graph.schema().config().option('graph.tx_autostart').set('true')

Depending on the search connector you will use, it may be necessary to set to true also the option graph.allow_scan.

:remote config alias g <graphName>.g
graph.schema().config().option('graph.allow_scan').set('true')

Configuration file

To edit the DSE Graph data-source configuration, you can either use the Web user-interface or edit the configuration file located at linkurious/data/config/production.json.

Example DSE Graph configuration:

{
  "dataSources": [
    {
      "graphdb": {
        "vendor": "dse",
        "url": "ws://127.0.0.1:8182/",
        "graphName": "MY_GRAPH"
      },
      "index": {
        "vendor": "elasticSearch",
        "host": "127.0.0.1",
        "port": 9201
      }
    }
  ]
}

Supported graphdb options for DSE Graph:

  • url (required): URL of the Gremlin server (must be a WebSocket URL, i.e. start with ws:// or wss:// if SSL is enabled)
  • graphName (required): Name of the graph to use
  • allowSelfSigned: true to allow the DSE Graph server to use a self-signed SSL certificate
  • user: DSE user (if credentials are enabled)
  • password: DSE password (if credentials are enabled)
  • create: true to let Linkurious create the graph if it does not exist
  • alternativeNodeId: Name of the node property to use as reference in visualizations (see alternative IDs)
  • alternativeEdgeId: Name of the edge property to use as reference in visualizations
  • latitudeProperty: Name of the node property to use for latitude (used in geo mode)
  • longitudeProperty: Name of the node property to use for longitude (used in geo mode)

Search with DSE Graph

For supported index options, see our documentation about search with DSE Graph.