Node Editor

Each node editor shows a label, the DB-ID and 2 columns:

  • Labels & Properties
  • Relationships

You can reload the node's data from the DB using the refresh button refresh

The PRO version of neo4j Commander has an auto-reload feature updating the node's data automatically every 5 seconds.

Close a node editor with the close button.

Labels

Add a new label by typing it into the Labels field and hitting the ENTER key.

Delete a label by clicking the little X.

 

Properties

All properties, their data-types and values (previews) are shown here.

Favorite properties (see Preferences) are shown at the top and the rest of the properties underneath, sorted alphabetically by the property name.

Properties Filter: For nodes with many properties you can use the "Properties Filter" field to limit the visible properties and easily find the properties you wish to work on.
This filter searches anywhere in the property names and is case-insensitive.
Note: The other properties are simply hidden from the viewport but they are still there. If you are missing any properties, make sure to clear the properties filter to see all properties of the node.

Values: Boolean properties are shown as checkboxes and can be edited directly. All other datatypes are edited in specialized editor dialogs: Calculator for numerical values, Text/Code editor for strings, Array editor for arrays. Click the property value to open the editor.

Arrays: For array properties the length of the array is shown in a little badge above the value preview.

Open the property menu using the adjust button to the right. This lets you

  • Mark a property for deletion
  • Convert the datatype of the property

Add a new property using the form at the bottom:
Enter the new property's name and pick the data type, then click the add button. The property is added at the correct position (alphabetical order) and ready to be given a value.

Visual Feedback

Input fields are visually annotated to show the changes that will be applied to the node in the DB when you hit the SAVE button:

Green Bar ... New property
Orange Bar ... Modified property
Black Bar + Dark Background ... Marked for deletion
Red Bar + Red Background ... Error

Datatypes

Neo4j Commander supports all datatypes available in current neo4j databases including temporal and spatial types as well as arrays of all of the types:

  • STR ... String
  • INT ... Integer
  • NUM ... Floatingpoint Numbers
  • BOL ... Boolean
  • D ... Date
  • DT ... DateTime
  • LDT ... LocalDateTime
  • LT ... LocalTime
  • Dur ... Duration
  • PNT ... Point

To convert a value from one datatype to another, click the <i class="material-icons nbmi">adjust</i> menu and set the desired datatype.

Array Editor

The array editor lets you edit array property values.

For boolean arrays you get a list of checkboxes, all other datatypes use text input fields.

You can add new entries to the array at the beginning, the end and between existing entries by clicking the add buttons.

You can delete entries from the array using the delete buttons.

Text/Code Editor

This editor lets you edit even long, multi-line strings and supports syntax highlighting for:

  • Markup (XML/HTML)
  • Markdown
  • Velocity (=Apache Template Enging)
  • Cypher
  • JSON with Buttons to pretty-print and minify

Calculator

All numeric values are edited in the built-in calculator where you can use either Javascript or Cypher (PRO only) evaluation to calculate a new value.

When using Javascript evaluation, the term you enter here will be passed to Javacsript's eval function to calculate a new value.

When using Cypher evaluation the current node can be accessed with "n" (when editing a relationship it is available as "r") e.g. to calculate a new value based on other properties you could enter "(n.a + n.b) * 2". The term you enter here will be passed to the underlying database to calculate a new value.

Save

All changes made to labels and properties are only submitted to the underlying database when you hit the SAVE button. (also see UNDO below) 

Click the 3-dots-button (next to the SAVE button) to open the menu for these additional features:

  • Hit the CLONE button to create a copy of the node (labels + properties, NOT relationships). Note: This might fail if you have uniqueness constraints set.
  • By clicking DETACH DELETE the node and all of it's relationships will be deleted from the underlying database.

Also see: UNDO

Merge Nodes

This feature uses the mergeNodes procedure of the APOC plugin to merge data from one/many source nodes onto a target node.

You can specify the merge type (discard, overwrite, combine), enter the property names or regular expressions matching property names and chose to "mergeRels" or not.

This feature is only available if you have the APOC plugin installed and more than 1 node editors open.

Watch the tutorial video below.
Note: The UI of neo4j Commander has changed since this video was recorded but everything regarding the "Merge Nodes" feature is still valid.