Graph Model for Open Street Map Data

I am working on Open Street Map (OSM) data, I want to import OSM data to DGraph database so I can write A* algorithm using DGraph, to find the optimal routes.
But I am new to the Graph Database, and I have no idea how to model OSM data as a graph.
Do the edges of a graph have their own properties like a road that connecting 2 intersection has its own name, type of road and length?

1 Like

Edge Concept Get started with Dgraph

An Edge can have specific attributes using Facets. But Facets are not first-class citizens. Get started with Dgraph

We have a good tour for you https://tour.dgraph.io/

Also we have Geolocation Get started with Dgraph

@MichelDiz, Thanks <3<3<3<3