half_edge_graph

half_edge_graph#

graph_tool.inference.half_edge_graph(g, b=None, B=None, rec=None)[source]#

Generate a half-edge graph, where each half-edge is represented by a node, and an edge connects the half-edges like in the original graph.