concept multiple node in category graphs

appears as: multiple nodes
Neo4j in Action

This is an excerpt from Manning's book Neo4j in Action.

Listing 3.3. Creating multiple nodes in a single transaction
try (Transaction tx = graphDb.beginTx()) { Node user1 = graphDb.createNode(); logger.info("created user:"+user1.getId()); Node user2 = graphDb.createNode(); logger.info("created user:"+user2.getId()); Node user3 = graphDb.createNode(); logger.info("created user:"+user3.getId()); tx.success(); }
Figure 5.3. User nodes indexed by the age property, with each key potentially referencing multiple nodes

You now know how to use an index to look up nodes in the start clause of a Cypher query. But what if you want to fix multiple nodes on your graph pattern when executing a Cypher query and match them separately? What if you want to find all movies that both John and Jack have seen? Don’t worry—this is also easy to achieve with Cypher, by specifying distinct multiple starting nodes as graph entry points.