Graph-encoded map