[graph-tool] bridge detection in graph-tool