Node Editor

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

  • Labels & Properties
  • List of Relationships

After making changes to a node’s labels and/or properties, you have to click the save button save to push the changes to the DB.

Press the arrow_drop_down button next to the save button to open the node editor menu with additional features:

  • refresh Refresh … Reloads the data from the DB dismissing all changes you might have made to the node
  • file_copy Clone … Creates a copy of the node. If there are unique constraints on any of the node’s properties, a specialized dialog will open up where you can make sure those property values are unique
  • delete Detach Delete … Deletes the node and all of its relationships (UNDO possible)
  • call_merge APOC mergeNodes … Only available on the first (leftmost) node editor: Opens a spezialized dialog that lets you specify how to merge all other open nodes (to the right of the first node) and perform the merge operation. The APOC library is required.
  • data_object Copy as JSON … Copies a JSON-formatted string of the node (id, labels, properties) to the system clipboard. Temporal values will be formatted as strings unless you press the secondary action button on the “Copy as JSON” menu item, which expands the temporal fields like year, day, minute, …
  • close Close … Closes (removes) the node editor, same as clicking the X on a breadcrumb

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 (the first one being the “main property” in a highlighted color) 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 values (string representations of values) 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 with additional features using the arrow_drop_down_circle 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 of the properties list:
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), the viewport scrolls the new property into view and the according editor dialog is opened so you can instantly assign 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 + Transparent … 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 arrow_drop_down_circle 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 (=Markup + Apache Template Engine)
  • Cypher
  • ICU Message Format
  • JSON (with Buttons to pretty-print and minify)

Calculator

All numeric values are edited in the built-in calculator where you can also use Cypher (PRO only) evaluation 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.

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 on the first node with more than 1 node editors open and you have to have the APOC plugin installed in the database.