Maps every edge in graph.data.json to a location scheme of [tree_id][level][index_at_level]