Relationships

In the right column of each node editor are the relationships connected to the (left) node. The total number of relationships is shown at the top.

Since one node can possibly have many thousands of relationships with other nodes, this list is by default limited to 5 but you can change this limit to show more if required.

To find a certain relationship, the list can be filtered:

  • TYPE … relationship type (all uppercase letters)
  • !TYPE … NOT (all relationships except TYPE)
  • < … all incoming relationships
  • > … all outgoing relationships
  • <TYPE … incoming relationships of a certain TYPE
  • <!TYPE … incoming relationships NOT of TYPE
  • >TYPE … outgoing relationships of a certain TYPE
  • >!TYPE … outgoing relationships NOT of TYPE
  • – …  (=1 or 2 minus characters) relationships connecting the left and right node
  • ID … relationship or connected node id
  • Cypher query … r = relationship, b = other node
    e.g: b.name=~’Neo.*’
    e.g: exists(r.rating)

Click the expand_more button next to the search button to show more options for finding/filtering the list of relationships:

  • ORDER BY … change the order of the relationships
    e.g: id(r) … order by the relationship’s ID (default)
    e.g: b.name DESC … order by the name property of the connected node in descending order
  • LIMIT … don’t go too high or your browser will not be happy 😉

The list of relationships shows the relationship type, direction and a property (see Preferences) on the left and a preview of the related node (avatar, label, property) on the right.

You can edit the properties of a relationship by clicking the left area: This opens the properties editor for the relationship which works in the same way as the properties editor of a node.

You can open the related node (to the right side) by clicking on the right area of an entry in the list of relationships. This replaces the current right hand side node editor. To insert the node editor instead, hold down CTRL whil clicking on the related node.

Shortest Path

If you have 2 nodes next to each other that are NOT DIRECTLY connected but there is a path in the graph from one node to the other, then you can click the “X nodes between” button to insert those connecting nodes between the left and right node editors.

Save, Refresh, Delete

Same as with the properties editor of a node, the save button saves the changes you made to the relationship’s data (UNDO is possible).

The close button closes the properties editor without saving changes.

Use the arrow_drop_down button for additional features:

  • refresh Refresh … to discard changes and reload the properties from the DB
  • delete Delete … to delete the relationship from the DB

Create Relationship

You can create a new relationship between the left and right nodes by entering the relationship type (all uppercase letters) in the form underneath the list of existing relationships and clicking one of the direction buttons arrow_back arrow_forward

emoji_objectsRelationships connecting the 2 adjacent nodes are highlighted with a colored background. To find relationships connecting the 2 nodes, type a minus character “-” into the relationships filter.