Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Graph Database

Explore, manage, and store graph data in Neo4j® database using MATLAB® interface to Neo4j and perform graph network analysis

Database Toolbox™ enables you to connect to a Neo4j graph database using the MATLAB interface to Neo4j. After creating a Neo4j connection, you can search the graph database data. Create, update, and delete nodes and relationships in the database. Perform analysis with graph network algorithms using the MATLAB directed graph. Store the directed graph in the Neo4j database. Traverse and analyze graph data by executing Cypher® queries using the Cypher query language.

Functions

expand all

neo4jConnect to Neo4j database
nodeDegreeIn-degree and out-degree for each associated relationship type for Neo4j database node
nodeLabelsAll node labels in Neo4j database
nodeRelationTypesAssociated relationship types for Neo4j database node
neo4jStruct2DigraphConvert graph or relationship structure from Neo4j database to directed graph
propertyKeysAll property keys in Neo4j database
relationTypesAll relationship types in Neo4j database
searchGraphSearch for subgraph or entire graph in Neo4j database
searchNodeSearch Neo4j database nodes by label or by property key and value
searchNodeByIDSearch for Neo4j database nodes by node identifier
searchRelationSearch relationships for Neo4j database node
searchRelationByIDSearch Neo4j relationship by relationship identifier
createNodeCreate nodes in Neo4j database
createRelationCreate relationships between nodes in Neo4j database
deleteNodeDelete nodes from Neo4j database
deleteRelationDelete relationships from Neo4j database
updateNodeUpdate node labels and properties in Neo4j database
updateRelationUpdate relationship properties in Neo4j database
storeDigraphStore directed graph in Neo4j database
executeCypherExecute Cypher query on Neo4j database

Objects

Neo4jConnectNeo4j database connection
Neo4jNodeNeo4j database node
Neo4jRelationNeo4j database relationship

Topics

About MATLAB Interface to Neo4j

Working with MATLAB Interface to Neo4j

Discover the Neo4j graph database and explore the MATLAB interface to Neo4j workflow.

Searching Graph Database Using MATLAB Interface to Neo4j

Conduct general or targeted searches.

Explore and Update Graph

Explore Graph Database Structure

Traverse the graph database structure.

Update Friend Information in Social Neighborhood

Create, update, and delete nodes and relationships in a Neo4j database.

Analyze Graph Data Using MATLAB digraph Object

Determine Dependencies of Services in Network

Perform graph network analysis for dependencies.

Find Shortest Path Between People in Social Neighborhood

Perform graph network analysis for shortest path.

Find Friends of Friends in Social Neighborhood

Perform graph network analysis for successor nodes.

Add and Query Group of Colleagues in Social Neighborhood

Store a directed graph in a Neo4j database and then execute a Cypher query on the resulting graph.

Troubleshooting

MATLAB Interface to Neo4j Error Messages

Address Neo4j database and MATLAB interface to Neo4j error messages.

Was this topic helpful?