}
for (auto link : *route->link_list) {
- const char* link_name = link->getName();
+ const char* link_name = link->cname();
current = new_xbt_graph_node(graph, link_name, nodes);
current_name = link_name;
new_xbt_graph_edge(graph, previous, current, edges);