cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Some questions about virtual graph

song
Node Link

Hello,
I’m new at Neo4j and just started studying APOC.

I saw virtual nodes ( and relations?) have negative ids (in this virtual node&rels page), but when i querying apoc. graph. * procedures, the output node, and relationships have positive ids. I followed the example cypher.
(oh, except apoc.graph.fromDocument and I didn't check apoc.graph.validateDocument)

The nodes and relationships in the virtual graph can have positive ids?

And when running the apoc.graph.fromDocument example, i expected the result like below,



But my result didn't show me the relationship name. I tried other cyphers, couldn't find the answer.

3X_1_1_11925ff5de2fb07720353c30aa07a4f71b238b6b.png

1 REPLY 1

song
Node Link

And i found some mistyped in APOC.
I don't know where to report

misspell in example: usage-apoc.date.currentTimestamp

WITH apoc.date.currentTimestamp() AS outputInMs
RETURN outputinMs, datetime({epochMillis: output}) AS datetime;
▼▼▼
WITH apoc.date.currentTimestamp() AS outputInMs
RETURN outputInMs, datetime({epochMillis: outputInMs}) AS datetime;
bracket error and figure mismatch in [invert-relationship](https://neo4j.com/labs/apoc/4.1/graph-updates/graph-refactoring/invert-relationship/)
CREATE (c:Car {make:"Volvo")-[rel:DRIVES {year:2001}]->(p:Person {name:"Dan"})
▼▼▼
CREATE (c:Car {make:"Volvo"})-[rel:DRIVES {year:2001}]->(p:Person {name:"Dan"})

(the figure show "foo - bar" example)

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online