Subject: | Set attribute when can't place all nodes or edges |
If the Layouter can't place all of the edges or nodes, it generatedsthe
warning: "Layouter could only place $nodes nodes/$edges edges out of
$e_nodes/$e_edges - giving up."
If this specific warning set an attribute, then we could check for it
and take appropriate action in the context of our app:
if ($graph->cannot_layout) {
print "We cannot show this graph, showing the results in a atablualr
format:\n";
...etc...
} else {
print $graph->as_html;
}