-static void recursiveXBTGraphExtraction(const s_xbt_graph_t* graph, std::map<std::string, xbt_node_t>* nodes,
- std::map<std::string, xbt_edge_t>* edges, const_sg_netzone_t netzone)
-{
- // bottom-up recursion
- for (auto const& netzone_child : netzone->get_children())
- recursiveXBTGraphExtraction(graph, nodes, edges, netzone_child);
-
- netzone->get_impl()->get_graph(graph, nodes, edges);
-}
-