The MATLAB® interface to Neo4j® lets you connect to a Neo4j graph database and import graph data into MATLAB. You can perform graph network analysis by creating a directed graph from the imported graph data. Or, if you are familiar with the Cypher® query language, you can execute Cypher queries on the Neo4j database.
A graph database stores data using a graph data model. This model consists of nodes and relationships. A relationship describes how two or more nodes are related to each other.
Nodes can have zero or more node labels and property keys. Neo4j assigns unique identifiers to nodes and relationships.
Relationships are always directed and have a relationship type. A relationship always has a start and end node. A node can have incoming and outgoing relationships. Two nodes can have multiple relationships between them of different relationship types.
This workflow shows how to connect to a Neo4j database, search the graph database, and perform graph network analysis.
Connect to a Neo4j database using
Search the graph database.
Conduct a general search in the graph database with any of these functions:
Or, conduct a targeted search in the graph database with any of these functions: