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

 

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 labels and their data-types are shown here, sorted alphabetically by the property name.

You can mark a property for deletion by clicking the trashcan icon delete

 

Use the input fields to edit a property value and set the desired data type.

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:

Grey Bar ... Touched input field
Green Bar ... New property
Orange Bar ... Modified property
Black Bar + Grey 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

The values from the input fields are converted to the selected datatype upon saving. It is therefore possible to convert from one datatype to another simply by changing the property's datatype (e.g. from numeric to string or vice versa).

Fullscreen Text Editor

All text inputs (datatype STR) are by default capable of multi-line text inputs. However, since the space inside the node editor is very limited, you can click the edit button next to a text input field to open a full screen multi-line text editor.

NEW: Syntax Highlighting for

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

Calculator

All numeric values (datatype INT and NUM) have a computer button next to them which opens the built-in calculator where you can use either Javascript or Cypher 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. (see UNDO below) 

NEW: Clone

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 up

Detach Delete

By clicking the DETACH DELETE button the node and all of it's relationships will be deleted from the underlying database.

Also see: UNDO

NEW: 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: