[フレーム]
Docs
Neo4j DBMS
Neo4j Aura
Neo4j Tools
Neo4j Graph Data Science
Cypher Query Language
Generative AI
Create applications
Connect data sources
Labs
GenAI Ecosystem
Developer Tools
Frameworks & Integrations
RDF & Linked Data
Get Help
Community Forum
Discord Chat
Product Support
Neo4j Developer Blog
Neo4j Videos
GraphAcademy
Beginners Courses
Data Scientist Courses
Generative AI Courses
Neo4j Certification
Get Started Free
Search
Skip to content
Raise an issue

Graph projection

Table 1. Changes in the YIELD fields
1.x 2.x

createMillis

projectMillis

-

configuration

nodeProjection

configuration.nodeProjection

relationshipProjection

configuration.relationshipProjection

nodeQuery

configuration.nodeQuery

relationshipQuery

configuration.relationshipQuery

nodeFilter

configuration.nodeFilter

relationshipFilter

configuration.relationshipFilter

Table 2. Projecting a graph
1.x 2.x

Native Projection:

CALL gds.graph.create(
 'myGraph',
 NODE_PROJECTION,
 RELATIONSHIP_PROJECTION,
 ADDITIONAL_CONFIGURATION
)
CALL gds.graph.project(
 'myGraph',
 NODE_PROJECTION,
 RELATIONSHIP_PROJECTION,
 ADDITIONAL_CONFIGURATION
)

Cypher Projection:

CALL gds.graph.create.cypher(
 'myGraph',
 NODE_QUERY,
 RELATIONSHIP_QUERY
 ADDITIONAL_CONFIGURATION
)
CALL gds.graph.project.cypher(
 'myGraph',
 NODE_QUERY,
 RELATIONSHIP_QUERY
 ADDITIONAL_CONFIGURATION
)

Projecting subgraphs:

CALL gds.graph.create.subgraph(
 'myGraph',
 NODE_QUERY,
 RELATIONSHIP_QUERY
 ADDITIONAL_CONFIGURATION
)
CALL gds.graph.project.cypher(
 'myGraph',
 NODE_QUERY,
 RELATIONSHIP_QUERY
 ADDITIONAL_CONFIGURATION
)

AltStyle によって変換されたページ (->オリジナル) /