Struct of edge, node stored in RAM

The Nodes and Edges stored in memory, I want to know struct of them like Java class properties.
Any document for this ? Thankyou

They aren’t stored or serialized as Java classes. The node and edge properties are simply written into byte arrays instead. Take a look at BaseGraph.java and GHNodeAccess.java to see the exact format.

Thankyou very much

See also the technical documentation graphhopper/technical.md at master · graphhopper/graphhopper · GitHub

(this needs a bit of an update but roughly it is the same)

Powered by Discourse