Create a Visualization with URL Parameters

There are several URL parameters that can be passed to a blank graph visualization created with the /visualization service. The parameters are used to load the initial set of nodes and relationships into the visualization. After that, the user can explore the graph as needed.

The URL consist of several parts:

  • the base path of the Graphlytic instance, e.g. https://graphlytic.instance

  • the visualization service /visualization

  • URL parameters, e.g. ?vis=14&nodes=23

Parameter

Description

Example

nodes

Adds nodes defined by internal ID to the graph visualization. Values are separated with commas (","). Can be combined with the "vis" parameter to add nodes to an existing visualization.

https://graphlytic.instance/visualization?nodes=23,653,9713

vis

Open existing visualization identified by the ID passed in this parameter. Can be combined with the "nodes" parameter to add nodes to an existing visualization.

https://graphlytic.instance/visualization?vis=14

https://graphlytic.instance/visualization?vis=14&nodes=23,69,420

cq

Cypher Query passed with the "cq" parameter will be requested from the server right after a blank visualization is created. Pass any cypher query (URL encoded) but don't forget that the URL length limit is around 2000 characters.

https://graphlytic.instance/visualization?cq=MATCH%28n%3ALabel%29RETURN%20n%20LIMIT%2025