I just found out the following (using gt 2.29):
If I create a GraphView of g and store it in g,
g = gt.extract_largest_component(g)
infer an SBM,
state = gt.minimize_nested_blockmodel_dl(g)
and try to draw it,
state.draw()
then I get the "RuntimeError: Invalid hierarchical tree: No path from source to target."
But if I prune the graph,
g = gt.extract_largest_component(g, prune=True)
then everything's fine.
Hope this documentation is helpful.
Haiko