Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
Query Tips
You can remove all accumulated output frames with :clear
. The 'X' button at the top right of each pane removes that frame and aborts a (long-)running statement.
The maximum number of frames that are kept is configurable in the Browser Settings from the left-side menu.
If you want to review a past query, you can find the result pane and click the query above the graph visualisation to pull it back into the editor. The keyboard shortcuts listed above will help you work efficiently within the editor area.
You can also write and edit multi-line queries by switching to multi-line editing mode with Shift+Enter, then Enter will create newlines. You then need to run Ctrl+Enter or Cmd+Enter to run multi-line queries.
Command Tips
Ctrl+Up and Ctrl+Down (Mac users, use the Cmd key) allows you to navigate command history, and you can access all command history with :history
.
The command history is persisted across Browser restarts.
You can put several Cypher statements into the command line input (with semicolons to separate statements) and run as a block by enabling the multi-statement query setting.
To do this, go to the Settings
tab on your Neo4j Browser window and make sure the box is checked for Enable multi statement query editor
.
These steps are shown in the image below.
Output, Export, & Visualization Tips
You can switch between Graph
, Table
, Text
, and Code
views to see the results in various formats by clicking the icons on the left of each pane.
Query time is reported in the Table
or Code
views (donโt rely on that exact timing though), and it includes the latency and deserialization costs, not just the actual query execution time.
You can also download the results as a CSV from the Table
, Text
, and Code
views or download the graph as an SVG or PNG from the Graph
view, as shown below.
Download graph
Download CSV
If you enter fullscreen mode of a graph visualization, you can zoom in and out. After a node is clicked, it gets a halo, where you can expand and remove nodes from the visualization. You can also turn previously dragged nodes loose again.