Using Neo4j Relationship type view
Tasks that can be performed from this view:
- create relationship type
- create relationship
- create node with relationship
- filter by incoming/outgoing relationships
- highlight relationships/nodes
- set node icons
Basic usage
- selecting relationships in the Database graph view will select the corresponding relationship type in this view
- double-clicking a relationship type will highlight the corresponding relationships in the Database graph view
- the highlighting is separate from selections
Create relationship type
Click the Create relationship type button ()
button in the toolbar or select it from the view menu, then enter the
name of the new relationship type.
Note: new relationship types are only persisted after being used in the database. Duplicate relationship type entries are silently removed (as identity is only concerned with the name in this case, they are in fact identical).
Create relationship
Click the Create relationship button () in
the toolbar or select it in the view menu to add a relationship. To
create a relationship you have to select one relationship type and two
nodes. The relationship will have the first selected node as start node
and the second selected node will be the end node.
Create node with relationship
To create a new node, select at least one node and click the Create
node as start node button ()
or the Create node as end node button (
)
in the toolbar or select it from the view menu.
Note: when multiple nodes are selected, relationships will be created between all of them and the new node.
To make sure the new node is visible, it is set as starting point for the Database graph view traverser as well.
Filter by incoming or outgoing relationships
By toggling the In and Out checkboxes of each relationship type, you can decide what relationship types will be followed by the Neoclipse node space traverser. The Database graph view is updated instantly.
Highlight relationships or nodes
To highlight relationships or nodes you first have to select at least one relationship type. The actions will then be performed for all the selected relationship types. The actions are:
Highlight relationships
Highlight end nodes
Highlight start nodes
Remove highlighting
Note: double-clicking a relationship type will highlight the corresponding relationships.
Note: The highlighting is separate from selections.
Set node icons
By selecting and right-clicking one or more relationship types, you can add start/end node icons. If you didn't already set up a "Node icon location" in the preferences, Neoclipse will ask you to.
Note: Even if multiple icons could apply to a node only one will be used as of now.
Another way to add node icons is described in the Node label properties section of the preferences reference page.